Re: ALTER TABLE RENAME fix - Mailing list pgsql-patches

From Tom Lane
Subject Re: ALTER TABLE RENAME fix
Date
Msg-id 15847.1005586978@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER TABLE RENAME fix  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: ALTER TABLE RENAME fix  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Instead of trying to fix this, how about making the RI triggers not use
> the column names in the first place.  (Instead they should use the oid of
> the table and the attnums.)

That would probably be a better answer in the long run, but since it
implies initdb for everyone with an RI trigger, I'm disinclined to
attack it that way during beta.

            regards, tom lane

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: ALTER TABLE RENAME fix
Next
From: Bruce Momjian
Date:
Subject: Re: stupid patch of pg_dumplo