Re: Checking of constraints via subqueries?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Checking of constraints via subqueries?
Дата
Msg-id 20050217185928.GA27066@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Checking of constraints via subqueries?  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On Thu, Feb 17, 2005 at 07:31:42PM +0100, Martijn van Oosterhout wrote:
> On Thu, Feb 17, 2005 at 11:03:58AM -0700, Michael Fuhr wrote:
> >
> > 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.
>
> The problem is basically that modifying a table elsewhere could have
> the effect of invalidating the entries in the table being checked.

Yeah, that's the kind of thing that concerned me.  I meant to ask
the OP the usual question:

What problem are you trying to solve?

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

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

Предыдущее
От: Lonni J Friedman
Дата:
Сообщение: Re: Problems compiling 7.4.6 src rpms
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: change user password