pgdump

Поиск
Список
Период
Сортировка
От Andreas Tille
Тема pgdump
Дата
Msg-id Pine.LNX.4.21.0009181630220.1778-100000@wr-linux02.rki.de
обсуждение исходный текст
Ответы Re: pgdump  (Michael Meskes <meskes@postgresql.org>)
Список 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 по дате отправления:

Предыдущее
От: Charles Tassell
Дата:
Сообщение: Re[2]: WTF is going on with PG_VERSION?
Следующее
От: Forest Wilkinson
Дата:
Сообщение: Re: Can't connect to 6.5.2 server with 7.0.2 client