CREATE DOMAIN with referential integrity

Поиск
Список
Период
Сортировка
От regme please
Тема CREATE DOMAIN with referential integrity
Дата
Msg-id 446c7e870808200707p49305450if32a56254807396e@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
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"
Дата:
Сообщение: Re: Fwd: Restarting with pg_ctl, users, and passwords.
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: schema name in SQL statement.