Re: deferred check constraints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Perry Smith <pedz(at)easesoftware(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: deferred check constraints
Date: 2007-07-16 19:45:33
Message-ID: 19130.1184615133@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Perry Smith <pedz(at)easesoftware(dot)com> writes:
> Right now, it would be nice if I could get a check constraint to be
> deferred.

Possibly you could use a deferred "constraint trigger" and do the check
inside that, but I think you will find there are all sorts of race
conditions in this design.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2007-07-16 20:08:02 Re: deferred check constraints
Previous Message Perry Smith 2007-07-16 19:21:23 deferred check constraints