Suggestion for --truncate-tables to pg_restore

From: "Karl O(dot) Pinc" <kop(at)meme(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Suggestion for --truncate-tables to pg_restore
Date: 2012-09-20 17:24:49
Message-ID: 1348161889.25476.1@mofo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)meme(dot)com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein

Attachment Content-Type Size
pg_restore.sgml.diff text/x-patch 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-09-20 18:55:08 Re: Confusing EXPLAIN output in case of inherited tables
Previous Message Pavel Stehule 2012-09-20 17:01:35 Re: proposal - assign result of query to psql variable