Re: FOREIGN KEY ... CONCURRENTLY

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: FOREIGN KEY ... CONCURRENTLY
Дата
Msg-id 20140130020408.GB10723@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на FOREIGN KEY ... CONCURRENTLY  (David Fetter <david@fetter.org>)
Список pgsql-hackers
David Fetter wrote:

>     2) Is there another way to solve the problem of adding a foreign
>     key constraint that points at a busy table?

Add it as NOT VALID and do a later VALIDATE CONSTRAINT step, after the
patch to reduce lock levels for ALTER TABLE goes in, perhaps?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Suspicion of a compiler bug in clang: using ternary operator in ereport()
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: updated emacs configuration