Remove the -d and -D options of pg_dump and pg_dumpall. The functionality
Tom Lane <tgl@sss.pgh.pa.us>
Remove the -d and -D options of pg_dump and pg_dumpall. The functionality is still available, but you must now write the long equivalent --inserts or --column-inserts. This change is made to eliminate confusion with the use of -d to specify a database name in most other Postgres client programs. Original patch by Greg Mullane, modified per subsequent discussion.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dumpall.sgml | modified | +33 −34 |
| doc/src/sgml/ref/pg_dump.sgml | modified | +55 −51 |
| src/bin/pg_dump/pg_dumpall.c | modified | +15 −14 |
| src/bin/pg_dump/pg_dump.c | modified | +21 −28 |