Re: Major Problems with pg_dump - Mailing list pgsql-novice

From Tom Lane
Subject Re: Major Problems with pg_dump
Date
Msg-id 16504.1105456347@sss.pgh.pa.us
Whole thread Raw
In response to Major Problems with pg_dump  (KÖPFERL Robert <robert.koepferl@sonorys.at>)
List pgsql-novice
=?iso-8859-1?Q?K=D6PFERL_Robert?= <robert.koepferl@sonorys.at> writes:
> 2. Dumping schema+data types and domains are dumped in the wrong order.
> Types don't get defined due to missing domains. Hmmm?

> 3. pg_dump writes FUNCTIONs with $$ instead of ' as frame for their body.
> However postgres seems to not like that. Why, how, I dunno?

Apparently you are dumping with an 8.0 pg_dump and trying to load into a
previous-generation backend.  That is never guaranteed to work and it's
particularly likely to not work from 8.0 to older backends.

However, 8.0 pg_dump should have solved the incorrect-dump-order
problem.  Could we see a specific example of #2 occurring with the 8.0
dump?

            regards, tom lane

pgsql-novice by date:

Previous
From: Colin McGuigan
Date:
Subject: Re: Conditionally altering tables
Next
From: KÖPFERL Robert
Date:
Subject: Re: Major Problems with pg_dump