Thread: pgsql: Add --exclude-table-data option to pg_dump.

pgsql: Add --exclude-table-data option to pg_dump.

From
Andrew Dunstan
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7b070e896ca835318c90b02c830a5c4844413b64

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml |   22 ++++++++++++++++++++++
src/bin/pg_dump/pg_dump.c     |   25 +++++++++++++++++++++++++
src/bin/pg_dump/pg_dump.h     |    1 +
3 files changed, 48 insertions(+), 0 deletions(-)