Re: [BUGS] contrib/adddepend does not properly re-create multi-column foreign keys.
Re: [BUGS] contrib/adddepend does not properly re-create multi-column foreign keys.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Adam Buraczewski writes: > Simply: the program takes column names from the wrong end of the array > :) > 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? regards, tom lane
Re: [BUGS] contrib/adddepend does not properly re-create
It makes sense, but I've not tested it yet. On Sun, 2002-12-01 at 14:06, Tom Lane wrote: > Adam Buraczewski writes: > > Simply: the program takes column names from the wrong end of the array > > :) > > > 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? -- Rod Taylor
Re: [BUGS] contrib/adddepend does not properly re-create multi-column foreign keys.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Rod Taylor writes: > It makes sense, but I've not tested it yet. Okay, I'll hold off applying until you check it. It's not urgent, but I'd like to have it fixed in 7.3.1, which we'll doubtless be wanting to roll out in a few weeks. regards, tom lane
Re: [BUGS] contrib/adddepend does not properly re-create
On Sun, 2002-12-01 at 14:11, Tom Lane wrote: > Rod Taylor writes: > > It makes sense, but I've not tested it yet. > > Okay, I'll hold off applying until you check it. It's not urgent, > but I'd like to have it fixed in 7.3.1, which we'll doubtless be > wanting to roll out in a few weeks. Adams patch is good. Please apply when you find time. -- Rod Taylor
Re: [BUGS] contrib/adddepend does not properly re-create
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Rod Taylor writes: > Adams patch is good. Please apply when you find time. I'm a bit confused by the patch --- it has a patch against "upgrade.pl" which is not to be seen in contrib/adddepend. What's up with that? regards, tom lane
Re: [BUGS] contrib/adddepend does not properly re-create
On Sun, 2002-12-01 at 18:57, Tom Lane wrote: > Rod Taylor writes: > > Adams patch is good. Please apply when you find time. > > I'm a bit confused by the patch --- it has a patch against "upgrade.pl" > which is not to be seen in contrib/adddepend. What's up with that? It seems to be against the version I originally posted. The second, adddepend.patch is what should be applied to the contrib/adddepend/adddepend file -- Rod Taylor
Re: [BUGS] contrib/adddepend does not properly re-create
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Rod Taylor writes: > The second, adddepend.patch is what should be applied to the > contrib/adddepend/adddepend file Roger. Patch applied in both HEAD and REL7_3_STABLE branches. regards, tom lane
Re: [BUGS] contrib/adddepend does not properly re-create multi-column foreign keys.
От:
Adam Buraczewski <adamb@polbox.pl>
Дата:
On Sun, Dec 01, 2002 at 02:06:31PM -0500, Tom Lane wrote: > Adam Buraczewski 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 * 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?