Re: constraint modification on todo list - Mailing list pgsql-hackers

From Gaetano Mendola
Subject Re: constraint modification on todo list
Date
Msg-id 012c01c37652$4708a2d0$4c720b3e@mm.eutelsat.org
Whole thread Raw
In response to Re: constraint modification on todo list  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I assume MODIFY would allow you to alter the constraint without
> > re-checking all the rows, as would be required by DROP/ADD.  However, if
> > you are modifying the constraint, wouldn't we have to recheck all the
> > rows anyway.
>
> Yeah.  Rod's point about altering foreign key action settings is a good
> one, but other than that I don't see a whole lot of scope for shortcuts.

The only shortcuts that come to my mind is when you enlarge ( or relax )
a constraint, and I think that is not so easy  detect it.


Regards
Gaetano Mendola



pgsql-hackers by date:

Previous
From: "Gaetano Mendola"
Date:
Subject: Re: constraint modification on todo list
Next
From: Greg Stark
Date:
Subject: Re: [PATCHES] mcxt.c