Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ui9Zj-0004qr-2m for pgsql-docs@arkaria.postgresql.org; Thu, 30 May 2013 20:35:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ui9Zi-0002Fg-IC for pgsql-docs@arkaria.postgresql.org; Thu, 30 May 2013 20:35:54 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ui9Zh-0002Fa-J8 for pgsql-docs@postgresql.org; Thu, 30 May 2013 20:35:53 +0000 Received: from eisentraut.org ([85.214.91.16] helo=gattler.pezone.net) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ui9ZW-0000e6-K5 for pgsql-docs@postgresql.org; Thu, 30 May 2013 20:35:52 +0000 Received: from jesse.mybdev.com (unknown [204.145.120.11]) by gattler.pezone.net (Postfix) with ESMTPSA id 257FC5A83E4; Thu, 30 May 2013 20:35:40 +0000 (UTC) Message-ID: <51A7B815.6000404@gmx.net> Date: Thu, 30 May 2013 16:35:33 -0400 From: Peter Eisentraut 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: Erwin Brandstetter CC: pgsql-docs@postgresql.org Subject: Re: Contradicting information for DEFERRABLE constraints References: <519FAC78.7090603@falter.at> In-Reply-To: <519FAC78.7090603@falter.at> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.8 (/) 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 On 5/24/13 2:07 PM, Erwin Brandstetter wrote: > My tests on Postgres 9.1 and 9.2 seem to confirm that the check for > non-deferrable constraints happens *after every row*, not after every > command. That only applies to unique constraints, not to other kinds of constraints. That's why the unique constraint defer behavior is described separately, but it's different from the normal constraint defer behavior. -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs