aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dumpall.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/bin/pg_dump/pg_dumpall.sh b/src/bin/pg_dump/pg_dumpall.sh
index 0429a9c3447..6eae7e2df24 100644
--- a/src/bin/pg_dump/pg_dumpall.sh
+++ b/src/bin/pg_dump/pg_dumpall.sh
@@ -6,7 +6,7 @@
# and "pg_group" tables, which belong to the whole installation rather
# than any one individual database.
#
-# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/pg_dumpall.sh,v 1.8 2000/11/14 18:37:46 tgl Exp $
+# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/pg_dumpall.sh,v 1.9 2000/12/19 22:12:47 petere Exp $
CMDNAME=`basename $0`
@@ -72,7 +72,7 @@ fi
usage=
cleanschema=
-accounts_only=
+globals_only=
#
# Scan options. We're interested in the -h (host), -p (port), and -c (clean) options.
@@ -110,8 +110,8 @@ while [ $# -gt 0 ] ; do
cleanschema=yes
pgdumpextraopts="$pgdumpextraopts -c"
;;
- --accounts-only)
- accounts_only=yes
+ --globals-only)
+ globals_only=yes
;;
*)
pgdumpextraopts="$pgdumpextraopts $1"
@@ -122,16 +122,16 @@ done
if [ "$usage" ] ; then
- echo "$CMDNAME dumps a PostgreSQL database cluster."
+ echo "$CMDNAME extracts a PostgreSQL database cluster into an SQL script file."
echo
echo "Usage:"
- echo " $CMDNAME [ -c ] [ -h host ] [ -p port ] [ --accounts-only ]"
+ echo " $CMDNAME [ -c ] [ -h HOSTNAME ] [ -p PORT ] [ --globals-only ]"
echo
echo "Options:"
- echo " -c, --clean clean (drop) schema prior to create"
- echo " -h, --host <hostname> server host name"
- echo " -p, --port <port> server port number"
- echo " --accounts-only only dump users and groups"
+ echo " -c, --clean Clean (drop) schema prior to create"
+ echo " -h, --host=HOSTNAME Server host name"
+ echo " -p, --port=PORT Server port number"
+ echo " --globals-only Only dump global objects, no databases"
echo "Any extra options will be passed to pg_dump."
echo
echo "Report bugs to <pgsql-bugs@postgresql.org>."
@@ -184,7 +184,7 @@ while read GRONAME GROSYSID GROLIST ; do
done
-test "$accounts_only" = yes && exit 0
+test "$globals_only" = yes && exit 0
# For each database, run pg_dump to dump the contents of that database.