From 7b070e896ca835318c90b02c830a5c4844413b64 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Wed, 14 Dec 2011 09:23:17 -0500 Subject: 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. --- doc/src/sgml/ref/pg_dump.sgml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index f6f33de7e7e..98f0ec68f8f 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -404,6 +404,10 @@ PostgreSQL documentation Dump only the object definitions (schema), not data. + + To exclude table data for only a subset of tables in the database, + see @@ -611,6 +615,24 @@ PostgreSQL documentation + + + + + Do not dump data for any tables matching the table pattern. The pattern is + interpreted according to the same rules as for + + To exclude data for all tables in the database, see + + -- cgit v1.2.3