Skip site navigation (1) Skip section navigation (2)

Re: Deferrerable Check constraints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Luiz K(dot) Matsumura" <luiz(at)planit(dot)com(dot)br>
Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Deferrerable Check constraints
Date: 2008-11-24 13:54:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
"Luiz K. Matsumura" <luiz(at)planit(dot)com(dot)br> writes:
> Need a Help. Can a check constraint be deferred until the end of a 
> transaction  ?

Nope, sorry.

If you're desperate to have such functionality you could check the
condition in a "constraint trigger".

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Bruce HyattDate: 2008-11-24 18:35:49
Subject: Re: Deferrerable Check constraints
Previous:From: Luiz K. MatsumuraDate: 2008-11-24 13:40:18
Subject: Deferrerable Check constraints

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group