File tree 2 files changed +11
-7
lines changed
2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ref/createlang.sgml,v 1.5 2000/03/27 17:14:42 thomas Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/createlang.sgml,v 1.6 2000/05/15 16:12:38 momjian Exp $
3
3
Postgres documentation
4
4
-->
5
5
@@ -24,7 +24,7 @@ Postgres documentation
24
24
</refsynopsisdivinfo>
25
25
<synopsis>
26
26
createlang [ <replaceable class="parameter">connection options</replaceable> ] [ <replaceable class="parameter">langname</replaceable> [ <replaceable class="parameter">dbname</replaceable> ] ]
27
- createlang [ <replaceable class="parameter">connection options</replaceable> ] --list|-l
27
+ createlang [ <replaceable class="parameter">connection options</replaceable> ] --list|-l [ <replaceable class="parameter">dbname</replaceable> ]
28
28
</synopsis>
29
29
30
30
<refsect2 id="R2-APP-CREATELANG-1">
Original file line number Diff line number Diff line change 8
8
#
9
9
#
10
10
# IDENTIFICATION
11
- # $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.8 2000/03/25 19:10:27 tgl Exp $
11
+ # $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.9 2000/05/15 16:12:39 momjian Exp $
12
12
#
13
13
# -------------------------------------------------------------------------
14
14
103
103
exit 1
104
104
;;
105
105
* )
106
- langname=" $1 "
107
- if [ " $2 " ]; then
108
- shift
109
- dbname=" $1 "
106
+ if [ " $list " = ' t' ]
107
+ then dbname=" $1 "
108
+ else langname=" $1 "
109
+ if [ " $2 " ]
110
+ then
111
+ shift
112
+ dbname=" $1 "
113
+ fi
110
114
fi
111
115
;;
112
116
esac
You can’t perform that action at this time.
0 commit comments