Fix pg_dump help option alignment.
This commit is contained in:
parent
78d40a2a2f
commit
c52670e8b2
@ -22,7 +22,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.243 2002/03/06 20:48:42 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.244 2002/03/21 05:47:14 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -141,71 +141,71 @@ help(const char *progname)
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
puts(gettext(
|
||||
" -a, --data-only dump only the data, not the schema\n"
|
||||
" -b, --blobs include large objects in dump\n"
|
||||
" -c, --clean clean (drop) schema prior to create\n"
|
||||
" -C, --create include commands to create database in dump\n"
|
||||
" -d, --inserts dump data as INSERT, rather than COPY, commands\n"
|
||||
" -D, --column-inserts dump data as INSERT commands with column names\n"
|
||||
" -f, --file=FILENAME output file name\n"
|
||||
" -F, --format {c|t|p} output file format (custom, tar, plain text)\n"
|
||||
" -h, --host=HOSTNAME database server host name\n"
|
||||
" -i, --ignore-version proceed even when server version mismatches\n"
|
||||
" pg_dump version\n"
|
||||
" -n, --no-quotes suppress most quotes around identifiers\n"
|
||||
" -N, --quotes enable most quotes around identifiers\n"
|
||||
" -o, --oids include oids in dump\n"
|
||||
" -O, --no-owner do not output \\connect commands in plain\n"
|
||||
" text format\n"
|
||||
" -p, --port=PORT database server port number\n"
|
||||
" -R, --no-reconnect disable ALL reconnections to the database in\n"
|
||||
" plain text format\n"
|
||||
" -s, --schema-only dump only the schema, no data\n"
|
||||
" -S, --superuser=NAME specify the superuser user name to use in\n"
|
||||
" plain text format\n"
|
||||
" -t, --table=TABLE dump this table only (* for all)\n"
|
||||
" -b, --blobs include large objects in dump\n"
|
||||
" -c, --clean clean (drop) schema prior to create\n"
|
||||
" -C, --create include commands to create database in dump\n"
|
||||
" -d, --inserts dump data as INSERT, rather than COPY, commands\n"
|
||||
" -D, --column-inserts dump data as INSERT commands with column names\n"
|
||||
" -f, --file=FILENAME output file name\n"
|
||||
" -F, --format {c|t|p} output file format (custom, tar, plain text)\n"
|
||||
" -h, --host=HOSTNAME database server host name\n"
|
||||
" -i, --ignore-version proceed even when server version mismatches\n"
|
||||
" pg_dump version\n"
|
||||
" -n, --no-quotes suppress most quotes around identifiers\n"
|
||||
" -N, --quotes enable most quotes around identifiers\n"
|
||||
" -o, --oids include oids in dump\n"
|
||||
" -O, --no-owner do not output \\connect commands in plain\n"
|
||||
" text format\n"
|
||||
" -p, --port=PORT database server port number\n"
|
||||
" -R, --no-reconnect disable ALL reconnections to the database in\n"
|
||||
" plain text format\n"
|
||||
" -s, --schema-only dump only the schema, no data\n"
|
||||
" -S, --superuser=NAME specify the superuser user name to use in\n"
|
||||
" plain text format\n"
|
||||
" -t, --table=TABLE dump this table only (* for all)\n"
|
||||
" -U, --username=NAME connect as specified database user\n"
|
||||
" -v, --verbose verbose mode\n"
|
||||
" -W, --password force password prompt (should happen automatically)\n"
|
||||
" -x, --no-privileges do not dump privileges (grant/revoke)\n"
|
||||
" -X use-set-session-authorization, --use-set-session-authorization\n"
|
||||
" output SET SESSION AUTHORIZATION commands rather\n"
|
||||
" than \\connect commands\n"
|
||||
" -Z, --compress {0-9} compression level for compressed formats\n"
|
||||
));
|
||||
" -v, --verbose verbose mode\n"
|
||||
" -W, --password force password prompt (should happen automatically)\n"
|
||||
" -x, --no-privileges do not dump privileges (grant/revoke)\n"
|
||||
" -X use-set-session-authorization, --use-set-session-authorization\n"
|
||||
" output SET SESSION AUTHORIZATION commands rather\n"
|
||||
" than \\connect commands\n"
|
||||
" -Z, --compress {0-9} compression level for compressed formats\n"
|
||||
));
|
||||
#else
|
||||
puts(gettext(
|
||||
" -a dump only the data, not the schema\n"
|
||||
" -b include large objects in dump\n"
|
||||
" -c clean (drop) schema prior to create\n"
|
||||
" -C include commands to create database in dump\n"
|
||||
" -d dump data as INSERT, rather than COPY, commands\n"
|
||||
" -D dump data as INSERT commands with column names\n"
|
||||
" -f FILENAME output file name\n"
|
||||
" -F {c|t|p} output file format (custom, tar, plain text)\n"
|
||||
" -h HOSTNAME database server host name\n"
|
||||
" -i proceed even when server version mismatches\n"
|
||||
" pg_dump version\n"
|
||||
" -n suppress most quotes around identifiers\n"
|
||||
" -N enable most quotes around identifiers\n"
|
||||
" -o include oids in dump\n"
|
||||
" -O do not output \\connect commands in plain\n"
|
||||
" text format\n"
|
||||
" -p PORT database server port number\n"
|
||||
" -R disable ALL reconnections to the database in\n"
|
||||
" plain text format\n"
|
||||
" -s dump only the schema, no data\n"
|
||||
" -S NAME specify the superuser user name to use in\n"
|
||||
" plain text format\n"
|
||||
" -t TABLE dump this table only (* for all)\n"
|
||||
" -b include large objects in dump\n"
|
||||
" -c clean (drop) schema prior to create\n"
|
||||
" -C include commands to create database in dump\n"
|
||||
" -d dump data as INSERT, rather than COPY, commands\n"
|
||||
" -D dump data as INSERT commands with column names\n"
|
||||
" -f FILENAME output file name\n"
|
||||
" -F {c|t|p} output file format (custom, tar, plain text)\n"
|
||||
" -h HOSTNAME database server host name\n"
|
||||
" -i proceed even when server version mismatches\n"
|
||||
" pg_dump version\n"
|
||||
" -n suppress most quotes around identifiers\n"
|
||||
" -N enable most quotes around identifiers\n"
|
||||
" -o include oids in dump\n"
|
||||
" -O do not output \\connect commands in plain\n"
|
||||
" text format\n"
|
||||
" -p PORT database server port number\n"
|
||||
" -R disable ALL reconnections to the database in\n"
|
||||
" plain text format\n"
|
||||
" -s dump only the schema, no data\n"
|
||||
" -S NAME specify the superuser user name to use in\n"
|
||||
" plain text format\n"
|
||||
" -t TABLE dump this table only (* for all)\n"
|
||||
" -U NAME connect as specified database user\n"
|
||||
" -v verbose mode\n"
|
||||
" -W force password prompt (should happen automatically)\n"
|
||||
" -x do not dump privileges (grant/revoke)\n"
|
||||
" -X use-set-session-authorization\n"
|
||||
" output SET SESSION AUTHORIZATION commands rather\n"
|
||||
" than \\connect commands\n"
|
||||
" -Z {0-9} compression level for compressed formats\n"
|
||||
));
|
||||
" -v verbose mode\n"
|
||||
" -W force password prompt (should happen automatically)\n"
|
||||
" -x do not dump privileges (grant/revoke)\n"
|
||||
" -X use-set-session-authorization\n"
|
||||
" output SET SESSION AUTHORIZATION commands rather\n"
|
||||
" than \\connect commands\n"
|
||||
" -Z {0-9} compression level for compressed formats\n"
|
||||
));
|
||||
#endif
|
||||
puts(gettext("If no database name is not supplied, then the PGDATABASE environment\n"
|
||||
"variable value is used.\n\n"
|
||||
@ -4081,7 +4081,6 @@ dumpACL(Archive *fout, TableInfo tbinfo)
|
||||
objoid = tbinfo.oid;
|
||||
|
||||
ArchiveEntry(fout, objoid, tbinfo.relname, "ACL", NULL, sql, "", "", "", NULL, NULL);
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user