pgdump - Mailing list pgsql-general

From Andreas Tille
Subject pgdump
Date
Msg-id Pine.LNX.4.21.0009181630220.1778-100000@wr-linux02.rki.de
Whole thread Raw
Responses Re: pgdump  (Michael Meskes <meskes@postgresql.org>)
List pgsql-general
Hello,

if I do a database dump via pg_dump also PostgreSQL internal tables
named pga_* are stored in the dump.  However if I drop a database and
create it via "create database <name>" those tables are created
automatically.  Restoring the old content of the database using
  cat <name>.dump | psql <name>
leads to warning messages caused by the existence of the pga_*
tables.  This is really annoing.  I checked all pg_dump options
if this could be avoided, but didn't found any.

I wonder if I should write a little script to remove the pga_*
stuff from the dump to get a warning-free restore.

Is there any usual solution for this problem?

Kind regards

         Andreas.


pgsql-general by date:

Previous
From: Charles Tassell
Date:
Subject: Re[2]: WTF is going on with PG_VERSION?
Next
From: Forest Wilkinson
Date:
Subject: Re: Can't connect to 6.5.2 server with 7.0.2 client