Re: begin transaction locks out other connections

Поиск
Список
Период
Сортировка
От Pavan Deolasee
Тема Re: begin transaction locks out other connections
Дата
Msg-id 2e78013d0804102318k363c9f39q82eecd5378f8819b@mail.gmail.com
обсуждение исходный текст
Ответ на Re: begin transaction locks out other connections  ("Dennis Brakhane" <brakhane@googlemail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Pavan Deolasee"
Дата:
Сообщение: Re: Postgres on shared network drive
Следующее
От: J Ottery
Дата:
Сообщение: Re: Postgres on shared network drive