Jan Wieck wrote:
> > I think this is a larger argument than the one that was being discussed
> > above. Given a dump of objects I own, can I restore them without requiring
> > the fk check to be done if I alter table add constraint a foreign key? If
> > the answer to that is no, then the option can be put in as a superuser
> > only option and it's relatively easy. If the answer to that is yes, then
> > there are additional issues that need to be resolved.
>
> Well, with the CREATE CONSTRAINT TRIGGER you _can_, but we already have
> a consensus that we don't _want_ that. Probably we should declare it
> deprecated and remove it in 7.5. And the option currently under
> discussion is exactly what will cause ALTER TABLE to let you, but IMHO
> that _should_ be restricted.
Added to TODO:
* Remove CREATE CONSTRAINT TRIGGER
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073