Re: Checking of constraints via subqueries?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Checking of constraints via subqueries?
Дата
Msg-id 20050217180358.GA26697@winnie.fuhr.org
обсуждение исходный текст
Ответ на Checking of constraints via subqueries?  (Wolfgang Drotschmann <drotschm@fgan.de>)
Ответы Re: Checking of constraints via subqueries?  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On Thu, Feb 17, 2005 at 04:37:43PM +0100, Wolfgang Drotschmann wrote:

> "...CHECK expressions cannot contain subqueries nor refer to
>  variables other than VALUE."

In experiments I've defined a domain's CHECK expression to call a
function that makes queries.  It worked in simple tests; I don't
know if it'll work in the general case.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Robby Russell
Дата:
Сообщение: Re: Suggestions on a good Postgresql 7.4 or 8.0 book
Следующее
От: John Allgood
Дата:
Сообщение: Re: Problems compiling 7.4.6 src rpms