Re: ALTER TABLE lock level - Mailing list pgsql-docs

From Marko Tiikkaja
Subject Re: ALTER TABLE lock level
Date
Msg-id 51A89BAE.6000704@joh.to
Whole thread Raw
In response to ALTER TABLE lock level  (Marko Tiikkaja <marko@joh.to>)
Responses Re: ALTER TABLE lock level  (Kevin Grittner <kgrittn@ymail.com>)
List pgsql-docs
On 5/27/13 5:23 PM, I wrote:
> Today I got (unfortunately) reminded that this statement, in
> sql-altertable.html under VALIDATE CONSTRAINT, is not true anymore:
>
> The value of separating validation from initial creation of the
> constraint is that validation requires a lesser lock on the table than
> constraint creation does.

Since nobody seems to want to pick this up, I'm going to suggest the
following wording:

    The value of separating validation from initial creation of the
    constraint is that you can immediately start enforcing the
    constraint on all future rows, but delay the validation of
    pre-existing data until your database is not under heavy load.

But I'm not going to object to simply removing the entire sentence.


Regards,
Marko Tiikkaja


pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: 9.3 missing system catalog columns and views
Next
From: Pavel Stehule
Date:
Subject: remove undocumented assign syntax from plpgsql doc