Re: Open 7.3 issues - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Open 7.3 issues
Date
Msg-id GNELIHDDFBOCMGBFGEFOCELGCDAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: Open 7.3 issues  (Rod Taylor <rbt@zort.ca>)
Responses Re: Open 7.3 issues
Re: Open 7.3 issues
List pgsql-hackers
> >     Dependency - have pg_dump auto-create dependencies when
> loading 7.2.X
> >     data?
> >
> > Are we as far as we can go here?
>
> The only trouble maker is foreign keys.  If there was a nice way of
> finding foreign keys in 7.2 and prior it probably would have been
> implemented a long time ago in pg_dump :)

What about this.

1. Implement pg_get_foreignkey_def() or whatever
2. Adjust pg_dump to dump foreign keys using an ALTER statement
3. Back port the above to rel 7_2_2
4. Release a 7.2.2 version and ask that people upgrade to that version and
do a dump before they upgrade to 7.3.
5. All is well, plus ppl who don't want to switch to 7.3 on production get
all sorts of useful bug fixes as well.

Chris



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke
Next
From: Curt Sampson
Date:
Subject: Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke