Re: Edit a dump file? - Mailing list pgsql-general

From Tom Lane
Subject Re: Edit a dump file?
Date
Msg-id 21820.1043097780@sss.pgh.pa.us
Whole thread Raw
In response to Edit a dump file?  (Andreas Schlegel <schlegelaw@gmx.de>)
List pgsql-general
Andreas Schlegel <schlegelaw@gmx.de> writes:
> My question is: is there change to edit the the dump and remove the
> view? I tried to open it with vi. I can read a bit but not all.

You can do a selective restore by listing the dump's table of contents
into a file, editing the file, and then using it as a control file for
pg_restore.  See the pg_restore man page.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Help on query plan. (was: select like and indexes)
Next
From: Medi Montaseri
Date:
Subject: When to vacuum