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

From Bruce Momjian
Subject Re: constraint modification on todo list
Date
Msg-id 200309082248.h88Mm9C11379@candle.pha.pa.us
Whole thread Raw
In response to Re: constraint modification on todo list  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane 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.

Agreed.  Added to TODO:
       o Allow ALTER TABLE to change constraint deferrability and actions

--  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
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: constraint modification on todo list
Next
From: "Ron Mayer"
Date:
Subject: Re: [PATCHES] ISO 8601 "Time Intervals" of the "format with time-unit designators"