Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UgzRQ-0006dd-3D for pgsql-docs@arkaria.postgresql.org; Mon, 27 May 2013 15:34:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UgzRP-00032P-I8 for pgsql-docs@arkaria.postgresql.org; Mon, 27 May 2013 15:34:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UgzGv-0007o8-MY for pgsql-docs@postgresql.org; Mon, 27 May 2013 15:23:41 +0000 Received: from mail-lb0-f181.google.com ([209.85.217.181]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UgzGo-0003i1-9Q for pgsql-docs@postgresql.org; Mon, 27 May 2013 15:23:41 +0000 Received: by mail-lb0-f181.google.com with SMTP id w20so6888334lbh.12 for ; Mon, 27 May 2013 08:23:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=iqFtduwxB2TUHQpbwSWv3KWEua8Q6PhvzxkOdIglweg=; b=AVB8V1LxAcLlQkjeTtVMNgCsDkFOfOPnlTMzT1DuHQmzBpxWl+JmVweq5HtFXlsl/V wDnOUmQwZkZEJd0c4F2ey+pD+tywoz9YfQ3OlANybbKmmN5V6rUZQnWt5THDH8+ZU/JG k98FBqZ1ev7QW6rtr5MVvY90zpKClXW5NoV0Z3UhUqzZhOk3LGmrd18qM7XDhjHNariq sfdXexRo33+Aj53Q5GtmLbxfsD3dfcMkJdnBl8y3yp0ig9FQ1GMgFD38chkFDAYVgZaq xpVm0ZtXzTLJX3yUrcvnuNgOQ7GGnWBo2+rjcQHC7J420wxTDF9wXfsSGteNmtnBBqSy bTsg== X-Received: by 10.152.21.40 with SMTP id s8mr11895980lae.6.1369668213424; Mon, 27 May 2013 08:23:33 -0700 (PDT) Received: from Markos-MacBook-Pro.local (c-2892e255.055-1-64736c14.cust.bredbandsbolaget.se. [85.226.146.40]) by mx.google.com with ESMTPSA id w20sm4668120lbi.14.2013.05.27.08.23.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 May 2013 08:23:32 -0700 (PDT) Message-ID: <51A37A72.5000203@joh.to> Date: Mon, 27 May 2013 17:23:30 +0200 From: Marko Tiikkaja User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: ALTER TABLE lock level Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkajqwKx1jPXfRwRNe/Z0r1zK8Qx5pynuJ7zHsch3wIrIN0ryJeKD7RHq/Tt+XqrnacULpa X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Hi, 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. Seems to affect all versions >= 9.1. 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