Re: RI triggers and schemas - Mailing list pgsql-hackers

From Tom Lane
Subject Re: RI triggers and schemas
Date
Msg-id 23482.1017634683@sss.pgh.pa.us
Whole thread Raw
In response to Re: RI triggers and schemas  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: RI triggers and schemas  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Why can't we just hack up the CREATE CONSTRAINT TRIGGER code to look up
> the OIDs, etc. for the arguments and convert them internally to an ALTER
> TABLE/ADD CONSTRAINT or whatever...

Hmm ... seems pretty ugly, but then again the alternatives are pretty
durn ugly themselves.  This ugliness would at least be localized.
Might be a plan.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: RI triggers and schemas
Next
From: Stephan Szabo
Date:
Subject: Re: RI triggers and schemas