Suggestion for --truncate-tables to pg_restore

Karl O. Pinc <kop@meme.com>

From: "Karl O. Pinc" <kop@meme.com>
To: pgsql-hackers@postgresql.org
Date: 2012-09-20T17:24:49Z
Lists: pgsql-hackers

Attachments

Hi,

I've had problems using pg_restore --data-only when
restoring individual schemas (which contain data which
has had bad things done to it).  --clean does not work
well because of dependent objects in other schemas.

Patch to the docs attached (before I go and do any
real coding.)


Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein