Re: Not a real bug, but an error

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: "Andrea D(dot)" <nomail(at)tiscali(dot)it>
Subject: Re: Not a real bug, but an error
Date: 2004-11-01 17:53:45
Message-ID: 41867829.3060604@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Josh Berkus 2004-11-02 01:19:47 Re: could not find /usr/local/timezone
Previous Message Michael Fuhr 2004-11-01 15:12:49 Re: possible bug using combination of 'serial' and rule