Re: ALTER TABLE lock level

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: ALTER TABLE lock level
Дата
Msg-id 51A89BAE.6000704@joh.to
обсуждение исходный текст
Ответ на ALTER TABLE lock level  (Marko Tiikkaja <marko@joh.to>)
Ответы Re: ALTER TABLE lock level  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-docs
On 5/27/13 5:23 PM, I wrote:
> 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.

Since nobody seems to want to pick this up, I'm going to suggest the
following wording:

    The value of separating validation from initial creation of the
    constraint is that you can immediately start enforcing the
    constraint on all future rows, but delay the validation of
    pre-existing data until your database is not under heavy load.

But I'm not going to object to simply removing the entire sentence.


Regards,
Marko Tiikkaja


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: 9.3 missing system catalog columns and views
Следующее
От: Pavel Stehule
Дата:
Сообщение: remove undocumented assign syntax from plpgsql doc