Re: [COMMITTERS] pgsql: Extend ALTER TABLE to allow Foreign Keys to be added without ini

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [COMMITTERS] pgsql: Extend ALTER TABLE to allow Foreign Keys to be added without ini
Дата
Msg-id 1297206003.1770.9113.camel@ebony
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Extend ALTER TABLE to allow Foreign Keys to be added without ini  (Bernd Helmle <mailings@oopsware.de>)
Список pgsql-hackers
On Tue, 2011-02-08 at 22:58 +0100, Bernd Helmle wrote:
> 
> --On 8. Februar 2011 12:24:11 +0000 Simon Riggs <simon@2ndQuadrant.com> 
> wrote:
> 
> > Extend ALTER TABLE to allow Foreign Keys to be added without initial
> > validation. FK constraints that are marked NOT VALID may later be
> > VALIDATED, which uses an ShareUpdateExclusiveLock on constraint table and
> > RowShareLock on referenced table. Significantly reduces lock strength and
> > duration when adding FKs. New state visible from psql.
> 
> Hi Simon,
> 
> It seems this commit misses updates to system catalogs documentation 
> regarding pg_constraint.conisvalidated.

So it does. Thanks I will rectify.

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: btree_gist (was: CommitFest progress - or lack thereof)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Extensions versus pg_upgrade