Обсуждение: Confirming - materialized views cannot have foreign key constraints.

Поиск
Список
Период
Сортировка

Confirming - materialized views cannot have foreign key constraints.

От
"David G. Johnston"
Дата:
Working with 9.3 at the moment and I don't see any syntax that would let me create one...

Thanks

David J.

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

От
Michael Paquier
Дата:


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