Re: Not a real bug, but an error

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Not a real bug, but an error
Дата
Msg-id 41867829.3060604@bigfoot.com
обсуждение исходный текст
Ответ на Not a real bug, but an error  ("Andrea D." <nomail@tiscali.it>)
Список pgsql-bugs
Andrea D. wrote:
> Hi, I've just upgraded Roma 7.3.x to 7.4.5 on a Mandrake 10.1 community.
> I've used pg_dumpall (Roma version 7.4.5) to dump my previous databases to a
> file in plain text form and then trend to restore using 'psql -f'.
> But there was an error: a function needed in a constraint of a table was
> placed after the table definition! So it was impossible to create the
> table!
> It was just a matter to edit the file and cut and copy the function
> definition in the right place, drop the database and run the file again,
> but it could be a good idea to find a workaround. Actually, I had to dump
> the schema and data separately, as one file was to big to manage, but it
> was just a matter of confort.
> Thank for the great work.
> Postgresql is really a wonderfull thing.
> Andrea from Italy

pg_dump 8.0 will work better. However is not a good idea dump the schema and
the data in separate files, for example you'll miss the FK creation delayed after the
data load.



Regards
Gaetano Mendola

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: possible bug using combination of 'serial' and rule
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: could not find /usr/local/timezone