pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marko Tiikkaja <marko@joh.to>
To: pgsql-docs@postgresql.org
Subject: Re: ALTER TABLE lock level
Date: Fri, 31 May 2013 14:46:38 +0200
Message-ID: <51A89BAE.6000704@joh.to> (raw)
In-Reply-To: <51A37A72.5000203@joh.to>
References: <51A37A72.5000203@joh.to>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (4+ messages)  latest in thread

Message-ID: <51A89BAE.6000704@joh.to>
Permalink:  ../51A89BAE.6000704@joh.to/
Also on:    postgresql.org/message-id/51A89BAE.6000704@joh.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: marko@joh.to
  Subject: Re: ALTER TABLE lock level
  In-Reply-To: <51A89BAE.6000704@joh.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox