Re: Confirming - materialized views cannot have foreign key constraints.

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Confirming - materialized views cannot have foreign key constraints.
Дата
Msg-id CAB7nPqSiE66nHSYyJVrQbpChjV+Hy-7wkGjWcQTRYnPPaohD1Q@mail.gmail.com
обсуждение исходный текст
Ответ на Confirming - materialized views cannot have foreign key constraints.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general


On Sun, Jul 12, 2015 at 7:54 AM, David G. Johnston <david.g.johnston@gmail.com> wrote:
Working with 9.3 at the moment and I don't see any syntax that would let me create one...

I don't recall you can create FKs on materialized views. CREATE MATERIALIZED VIEW has no option regarding that, and ALTER TABLE ADD CONSTRAINT prevents its creation.
--
Michael

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

Предыдущее
От: James Cloos
Дата:
Сообщение: Re: How to test SSL cert from CA?
Следующее
От: Ramesh T
Дата:
Сообщение: Re: timestamp check