Re: constraint modification on todo list

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: constraint modification on todo list
Дата
Msg-id 012c01c37652$4708a2d0$4c720b3e@mm.eutelsat.org
обсуждение исходный текст
Ответ на Re: constraint modification on todo list  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Gaetano Mendola"
Дата:
Сообщение: Re: constraint modification on todo list
Следующее
От: Greg Stark
Дата:
Сообщение: Re: [PATCHES] mcxt.c