Re: Bug in pg_restore ... ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug in pg_restore ... ?
Date
Msg-id 7099.1118352765@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug in pg_restore ... ?  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Bug in pg_restore ... ?
List pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> Yeah it is an ordering problem with pg_dump...

If you are using pg_restore you can hack around the problem by using
pg_restore's load-order-control switch (which was invented exactly to
let people work around pg_dump's problems ;-)).  In this case though,
the simplest answer is probably to install tsearch2 into the new
database before you run pg_restore.  It'll complain that the functions
already exist, but you can ignore that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Bug in pg_restore ... ?
Next
From: Peter Eisentraut
Date:
Subject: Re: Fix for cross compilation