File tree 6 files changed +2840
-290
lines changed
6 files changed +2840
-290
lines changed Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 26
26
#
27
27
#
28
28
# IDENTIFICATION
29
- # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.69 1999/12/17 16:53:11 wieck Exp $
29
+ # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.70 1999/12/17 18:05:30 momjian Exp $
30
30
#
31
31
# -------------------------------------------------------------------------
32
32
202
202
shift
203
203
done
204
204
205
-
206
205
if [ " $usage " ]; then
207
- echo " $CMDNAME [-t|--template] [-d|--debug] [-n|--noclean] \\ "
208
- echo " [-u|--username SUPERUSER] [-D|--pgdata DATADIR] \\ "
209
- echo " [-L|--pglib=LIBDIR] [-e|--pgencoding=ENCODING]"
210
- exit 0
206
+ echo " "
207
+ echo " Usage: $CMDNAME [options]"
208
+ echo " "
209
+ echo " -t, --template "
210
+ echo " -d, --debug "
211
+ echo " -n, --noclean "
212
+ echo " -i SYSID, --sysid=SYSID "
213
+ echo " -W PASSWORD, --password=PASSWORD "
214
+ echo " -u SUPERUSER, --username=SUPERUSER "
215
+ echo " -D DATADIR, --pgdata=DATADIR "
216
+ echo " -L LIBDIR, --pglib=LIBDIR "
217
+
218
+ if [ -n " $MULTIBYTE " ]; then
219
+ echo " -e ENCODING, --pgencoding=ENCODING"
220
+ fi
221
+ echo " -?, --help "
222
+ echo " "
223
+ exit 0
211
224
fi
212
225
213
-
214
226
# -------------------------------------------------------------------------
215
227
# Resolve the multibyte encoding name
216
228
# -------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -317,11 +317,11 @@ listAllDbs(PsqlSettings *pset, bool desc)
317
317
318
318
strcpy (buf ,
319
319
"SELECT pg_database.datname as \"Database\",\n"
320
- " pg_user.usename as \"Owner\""
320
+ " pg_user.usename as \"Owner\"" );
321
321
#ifdef MULTIBYTE
322
- ",\n pg_database.encoding as \"Encoding\""
322
+ strcat (buf ,
323
+ ",\n pg_database.encoding as \"Encoding\"" );
323
324
#endif
324
- );
325
325
if (desc )
326
326
strcat (buf , ",\n obj_description(pg_database.oid) as \"Description\"\n" );
327
327
strcat (buf , "FROM pg_database, pg_user\n"
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.3 1999/12/16 20:10:02 momjian Exp $
11
+ # $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.4 1999/12/17 18:05:32 momjian Exp $
12
12
#
13
13
# -------------------------------------------------------------------------
14
14
@@ -133,10 +133,10 @@ if [ "$usage" ]; then
133
133
echo " -h HOSTNAME, --host=HOSTNAME "
134
134
echo " -p PORT, --port=PORT "
135
135
echo " -U USERNAME, --username=USERNAME "
136
+ echo " -l, --list "
136
137
echo " -W, --password "
137
138
echo " -d DBNAME, --database=DBNAME "
138
139
echo " -e, --echo "
139
- echo " -q, --quiet "
140
140
echo " -D PATH, --location=PATH "
141
141
echo " -L PGLIB --pglib=PGLIB "
142
142
echo " -?, --help "
You can’t perform that action at this time.
0 commit comments