postgresql/src/bin
Tom Lane 1368e92e16 Support --no-comments in pg_dump, pg_dumpall, pg_restore.
We have switches already to suppress other subsidiary object properties,
such as ACLs, security labels, ownership, and tablespaces, so just on
the grounds of symmetry we should allow suppressing comments as well.
Also, commit 0d4e6ed30 added a positive reason to have this feature,
i.e. to allow obtaining the old behavior of selective pg_restore should
anyone desire that.

Recent commits have removed the cases where pg_dump emitted comments on
built-in objects that the restoring user might not have privileges to
comment on, so the original primary motivation for this feature is gone,
but it still seems at least somewhat useful in its own right.

Robins Tharakan, reviewed by Fabrízio Mello

Discussion: https://postgr.es/m/CAEP4nAx22Z4ch74oJGzr5RyyjcyUSbpiFLyeYXX8pehfou92ug@mail.gmail.com
2018-01-25 15:27:24 -05:00
..
initdb Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_archivecleanup pg_archivecleanup: Add test suite 2017-09-14 22:23:00 -04:00
pg_basebackup Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_config Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_controldata Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_ctl Support huge pages on Windows 2018-01-21 15:40:46 +01:00
pg_dump Support --no-comments in pg_dump, pg_dumpall, pg_restore. 2018-01-25 15:27:24 -05:00
pg_resetwal Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_rewind Refactor subscription tests to use PostgresNode's wait_for_catchup 2018-01-11 13:35:38 -05:00
pg_test_fsync Make WAL segment size configurable at initdb time. 2017-09-19 22:03:48 -07:00
pg_test_timing pg_test_timing: Some NLS fixes 2017-08-26 09:25:19 -04:00
pg_upgrade Move handling of database properties from pg_dumpall into pg_dump. 2018-01-22 14:09:09 -05:00
pg_waldump Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgbench pgbench: Remove accidental garbage in test file 2018-01-23 12:31:01 -05:00
pgevent Update copyright for 2018 2018-01-02 23:30:12 -05:00
psql Local partitioned indexes 2018-01-19 11:49:22 -03:00
scripts Update copyright for 2018 2018-01-02 23:30:12 -05:00
Makefile Update copyright for 2018 2018-01-02 23:30:12 -05:00