Re: Checking of constraints via subqueries?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Wolfgang Drotschmann <drotschm(at)fgan(dot)de>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Checking of constraints via subqueries?
Date: 2005-02-17 18:03:58
Message-ID: 20050217180358.GA26697@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Allgood 2005-02-17 18:10:37 Re: Problems compiling 7.4.6 src rpms
Previous Message Robby Russell 2005-02-17 18:00:58 Re: Suggestions on a good Postgresql 7.4 or 8.0 book