Re: re: 7.1.2 and foreign key unique constraint.

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: re: 7.1.2 and foreign key unique constraint.
Дата
Msg-id Pine.BSF.4.21.0108031348170.17100-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: re: 7.1.2 and foreign key unique constraint.  (patrick keshishian <patrick+pgsql@pioneerdigital.com>)
Список pgsql-general
On Fri, 3 Aug 2001, patrick keshishian wrote:

> Thanks for your reply and suggestions.  I was hoping for a
> solution that would not require me to break apart any of the
> tables or employ new ones.
>
> But apparently i have no choice.
>
> One would think that there would a such a construct defined in
> SQL for specifying a field in a table with restriction placed on
> its values based on values in a 'foreign table field'.

Technically, you would be able to handle this through a subquery
in a check constraint, however we don't support this currently
(it's a non-trivial problem to solve for a potentially complicated
query).


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

Предыдущее
От: Trond Eivind Glomsrød
Дата:
Сообщение: Re: HELP! BUG? pg_dump mucks up grant/revoke
Следующее
От: caldodge@fpcc.net (Calvin Dodge)
Дата:
Сообщение: Re: Where is the database located in 7.1.2?