Re: NOVALIDATE in postgresql? - Mailing list pgsql-general

From decibel
Subject Re: NOVALIDATE in postgresql?
Date
Msg-id 2EE63681-B9FD-4934-8028-C2812B705255@decibel.org
Whole thread Raw
In response to Re: NOVALIDATE in postgresql?  (Adrian Klaver <aklaver@comcast.net>)
Responses Re: NOVALIDATE in postgresql?
List 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 by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: postgres wish list
Next
From: Tom Lane
Date:
Subject: Re: Fixing invalid owners on pg_toast tables in 8.3.5