Add --exclude-table-data option to pg_dump.
Andrew Dunstan <andrew@dunslane.net>
Add --exclude-table-data option to pg_dump. Andrew Dunstan, reviewed by Josh Berkus, Robert Haas and Peter Geoghegan. This allows dumping of a table definition but not its data, on a per table basis. Table name patterns are supported just as for --exclude-table.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dump.sgml | modified | +22 −0 |
| src/bin/pg_dump/pg_dump.c | modified | +25 −0 |
| src/bin/pg_dump/pg_dump.h | modified | +1 −0 |