Re: NOVALIDATE in postgresql?

Поиск
Список
Период
Сортировка
От decibel
Тема Re: NOVALIDATE in postgresql?
Дата
Msg-id 2EE63681-B9FD-4934-8028-C2812B705255@decibel.org
обсуждение исходный текст
Ответ на Re: NOVALIDATE in postgresql?  (Adrian Klaver <aklaver@comcast.net>)
Ответы Re: NOVALIDATE in postgresql?  (Adrian Klaver <aklaver@comcast.net>)
Список pgsql-general
On Feb 19, 2009, at 1:49 PM, Adrian Klaver wrote:
> From the Oracle manual:
> ENABLE NOVALIDATE means the constraint is checked for new or
> modified rows, but existing data may violate the constraint.
>
> So you are looking for an incomplete constraint?


More likely they want to add a constraint but can't afford the time
it would take to scan the table while holding an exclusive lock. At
least that's the situation we're facing at work.

FWIW, I've been talking to Command Prompt about developing a fix for
this, targeting inclusion in 8.5. I think Alvaro and I have come up
with a reasonably plan, but there hasn't been time to present it to
the community yet.
--
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828



В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: postgres wish list
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fixing invalid owners on pg_toast tables in 8.3.5