Re: begin transaction locks out other connections - Mailing list pgsql-general

From Pavan Deolasee
Subject Re: begin transaction locks out other connections
Date
Msg-id 2e78013d0804102318k363c9f39q82eecd5378f8819b@mail.gmail.com
Whole thread Raw
In response to Re: begin transaction locks out other connections  ("Dennis Brakhane" <brakhane@googlemail.com>)
List pgsql-general
On Thu, Apr 10, 2008 at 11:29 PM, Dennis Brakhane
<brakhane@googlemail.com> wrote:

>
>  I believe it does. See
>  http://www.postgresql.org/docs/8.3/interactive/sql-set-constraints.html
>  and the DEFERRABLE keyword in CREATE TABLE.
>
>  Or am I missing something here?
>

Only foreign key contrains checks (and triggers) can be deferred, not the
primary or unique key checks. See the following statement in the same doc
page:

"Currently, only foreign key constraints are affected by this setting. Check
and unique constraints are always effectively not deferrable. Triggers that
are declared as "constraint triggers" are also affected."

Thanks,
Pavan

--
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com

pgsql-general by date:

Previous
From: "Pavan Deolasee"
Date:
Subject: Re: Postgres on shared network drive
Next
From: J Ottery
Date:
Subject: Re: Postgres on shared network drive