Skip to content

Commit 3269541

Browse files
committed
Make pg_dump and pg_dumpall --clean options match the SGML docs, for consistency.
1 parent e228624 commit 3269541

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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.512 2009/01/05 16:54:37 tgl Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.513 2009/01/06 18:01:57 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -803,7 +803,7 @@ help(const char *progname)
803803
printf(_("\nOptions controlling the output content:\n"));
804804
printf(_(" -a, --data-only dump only the data, not the schema\n"));
805805
printf(_(" -b, --blobs include large objects in dump\n"));
806-
printf(_(" -c, --clean clean (drop) schema prior to create\n"));
806+
printf(_(" -c, --clean clean (drop) database objects before recreating\n"));
807807
printf(_(" -C, --create include commands to create database in dump\n"));
808808
printf(_(" -d, --inserts dump data as INSERT commands, rather than COPY\n"));
809809
printf(_(" -D, --column-inserts dump data as INSERT commands with column names\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.111 2009/01/05 16:54:37 tgl Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.112 2009/01/06 18:01:57 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -500,7 +500,7 @@ help(void)
500500
" fail after waiting TIMEOUT for a table lock\n"));
501501
printf(_("\nOptions controlling the output content:\n"));
502502
printf(_(" -a, --data-only dump only the data, not the schema\n"));
503-
printf(_(" -c, --clean clean (drop) databases prior to create\n"));
503+
printf(_(" -c, --clean clean (drop) databases before recreating\n"));
504504
printf(_(" -d, --inserts dump data as INSERT, rather than COPY, commands\n"));
505505
printf(_(" -D, --column-inserts dump data as INSERT commands with column names\n"));
506506
printf(_(" -g, --globals-only dump only global objects, no databases\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