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)
Список
Дерево обсуждения
Re: Checking of constraints via subqueries? Wolfgang Drotschmann <drotschm@fgan.de>
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 по дате отправления