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

From Brent Verner
Subject Re: ALTER TABLE RENAME fix
Date
Msg-id 20011110211005.A98616@rcfile.org
Whole thread Raw
In response to Re: ALTER TABLE RENAME fix  (Brent Verner <brent@rcfile.org>)
List pgsql-patches
On 10 Nov 2001 at 20:26 (-0500), Brent Verner wrote:

| <light bulb over head>

<sound of light bulb busting>

| no doubt, very badly/misleadingly written.  There is no reason for
| me to reconstruct the new tgargs for each tuple at all.  I just need
| to do the check against PK_RELNAME and FK_RELNAME for the first tuple
| that needs updating, since the tgargs is the /same/ for all calls to
| this trigger... but we have to check both PK_RELNAME and FK_RELNAME,
| since we don't know which side of the constraint this relname is on.
| The following pseudo-code describes all I need to do.

disregard this idea. It will not do the right thing with multiple
constraints.

  brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: ALTER TABLE RENAME fix
Next
From: Brent Verner
Date:
Subject: Re: ALTER TABLE RENAME fix