Re: check constraint validation takes access exclusive locks

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: check constraint validation takes access exclusive locks
Дата
Msg-id 1330348608-sup-7152@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: check constraint validation takes access exclusive locks  (hubert depesz lubaczewski <depesz@depesz.com>)
Ответы Re: check constraint validation takes access exclusive locks  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Excerpts from hubert depesz lubaczewski's message of lun feb 27 10:02:57 -0300 2012:
> On Sun, Feb 26, 2012 at 03:04:28PM +0100, Pavel Stehule wrote:
> > Hello
> >
> > I rechecked Depesz's article -
> > http://www.depesz.com/2011/07/01/waiting-for-9-2-not-valid-checks/
> >
> > The behave of current HEAD is different than behave described in article.
> >
> > "alter table a validate constraint a_a_check" needs a access exclusive
> > locks and blocks table modification - I tested inserts.

> yes, looks like we have revert to access exclusive lock:

See commits
2c3d9db56d5d49bdc777b174982251c01348e3d8
and
a195e3c34f1eeb6a607c342121edf48e49067ea9

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Initial 9.2 pgbench write results
Следующее
От: Robert Haas
Дата:
Сообщение: Re: restrict modification of column values in BR triggers