Re: contrib/adddepend does not properly re-create multi-column foreign keys. - Mailing list pgsql-bugs

From Adam Buraczewski
Subject Re: contrib/adddepend does not properly re-create multi-column foreign keys.
Date
Msg-id 20021201204809.GA2032@localhost.localdomain
Whole thread Raw
In response to Re: contrib/adddepend does not properly re-create multi-column foreign keys.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Sun, Dec 01, 2002 at 02:06:31PM -0500, Tom Lane wrote:
> Adam Buraczewski <adamb@polbox.pl> writes:
> > I already notified the author of the program and attached patches to
> > both original upgrade.pl and contrib/adddepend scripts.
> Rod, do you concur that this is a correct patch?

The patched script worked properly for my 6 databases where I heavily
make use of two-column foreign keys.  However, I didn't have a chance
to check if it is correct for keys consisting of more than two
columns, and I also don't have good knowledge about parameters passed
to RI_FKey* procedures.  I based my "research" on analysis of
adddepend code.  Summarizing: it would be indeed good to verify this
patch before applying :)

Regards,

--
Adam Buraczewski <adamb@polbox.pl> * Linux registered user #165585
GCS/TW d- s-:+>+:- a- C+++(++++) UL++++$ P++ L++++ E++ W+ N++ o? K? w--
O M- V- PS+ !PE Y PGP+ t+ 5 X+ R tv- b+ DI? D G++ e+++>++++ h r+>++ y?

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: contrib/adddepend does not properly re-create multi-column foreign keys.
Next
From: Theodore Petrosky
Date:
Subject: initdb and OSX why must I --no-locale