Re: sequence owned by backwards compatability - Mailing list pgsql-admin

From Joshua D. Drake
Subject Re: sequence owned by backwards compatability
Date
Msg-id 475F6C5B.2060405@commandprompt.com
Whole thread Raw
In response to sequence owned by backwards compatability  (Wouter Pels <wouter@spmapplications.com>)
Responses Re: sequence owned by backwards compatability  (Wouter Pels <wouter@spmapplications.com>)
List pgsql-admin
Wouter Pels wrote:
> We were running into problems today when we tried to import a 8.2.4 dump
> in a 8.1.5 database. It had to do with the new way of assigning
> sequences to colums, which confused 8.1.5 I didn't expect that at the
> time of configuration, and currently is down-grading to 8.1.x not an
> easy option anymore.
>
> Is there any trick to work arround this issue ? some kind of switch for
> backwards compatability ?

No switch but you could restore the schema separately from the data.
Then you could edit the schema to fit 8.1 commands before restore.

Out of curiosity.. why are you doing this? :)

Joshua D. Drake



pgsql-admin by date:

Previous
From: Wouter Pels
Date:
Subject: sequence owned by backwards compatability
Next
From: Allan Kamau
Date:
Subject: Re: (Pl/SQL) Obtaining field names from record 'variable'