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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add --exclude-table-data option to pg_dump.
Date: 2011-12-14 14:29:37
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

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.



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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-12-14 21:46:58 Re: pgsql: plpython: Add SPI cursor support
Previous Message Heikki Linnakangas 2011-12-14 13:58:37 pgsql: Add support for passing cursor parameters in named notation in P