Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)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