Skip to content

Commit 2ee3a72

Browse files
committed
Adjust help message for --no-owner, per Alvaro Herrera.
1 parent 2254d4e commit 2ee3a72

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.393 2004/11/27 18:51:06 tgl Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.394 2004/12/03 18:48:19 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -682,7 +682,7 @@ help(const char *progname)
682682
printf(_(" -D, --column-inserts dump data as INSERT commands with column names\n"));
683683
printf(_(" -n, --schema=SCHEMA dump the named schema only\n"));
684684
printf(_(" -o, --oids include OIDs in dump\n"));
685-
printf(_(" -O, --no-owner do not output commands to set object ownership\n"
685+
printf(_(" -O, --no-owner skip restoration of object ownership\n"
686686
" in plain text format\n"));
687687
printf(_(" -s, --schema-only dump only the schema, no data\n"));
688688
printf(_(" -S, --superuser=NAME specify the superuser user name to use in\n"

src/bin/pg_dump/pg_dumpall.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
*
9-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.55 2004/11/27 18:51:06 tgl Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.56 2004/12/03 18:48:19 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -349,7 +349,7 @@ help(void)
349349
printf(_(" -D, --column-inserts dump data as INSERT commands with column names\n"));
350350
printf(_(" -g, --globals-only dump only global objects, no databases\n"));
351351
printf(_(" -o, --oids include OIDs in dump\n"));
352-
printf(_(" -O, --no-owner do not output commands to set object ownership\n"));
352+
printf(_(" -O, --no-owner skip restoration of object ownership\n"));
353353
printf(_(" -s, --schema-only dump only the schema, no data\n"));
354354
printf(_(" -S, --superuser=NAME specify the superuser user name to use in the dump\n"));
355355
printf(_(" -x, --no-privileges do not dump privileges (grant/revoke)\n"));

src/bin/pg_dump/pg_restore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
*
3636
* IDENTIFICATION
37-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.67 2004/11/27 18:51:06 tgl Exp $
37+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.68 2004/12/03 18:48:19 tgl Exp $
3838
*
3939
*-------------------------------------------------------------------------
4040
*/
@@ -376,7 +376,7 @@ usage(const char *progname)
376376
printf(_(" -I, --index=NAME restore named index\n"));
377377
printf(_(" -L, --use-list=FILENAME use specified table of contents for ordering\n"
378378
" output from this file\n"));
379-
printf(_(" -O, --no-owner do not issue commands to set object ownership\n"));
379+
printf(_(" -O, --no-owner skip restoration of object ownership\n"));
380380
printf(_(" -P, --function=NAME(args)\n"
381381
" restore named function\n"));
382382
printf(_(" -s, --schema-only restore only the schema, no data\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy