CREATE DOMAIN with referential integrity

Поиск
Список
Период
Сортировка
Искать
От
regme please
Тема
CREATE DOMAIN with referential integrity
Дата
Msg-id
446c7e870808200707p49305450if32a56254807396e@mail.gmail.com
Список
HI all.
Is there a way to CREATE a DOMAIN in v8.3 with a CHECK() predicate to ensure the value is in a dictionary table?
Of course, I already know the trivial and ugly solution with a (PL/Pg)SQL lookup function.

Thanks.
В списке pgsql-general по дате отправления
От: Matthew Pettis
Дата:
От: Adrian Klaver
Дата:
FAQ