Re: Check constraint - Mailing list pgsql-general

From Francisco Reyes
Subject Re: Check constraint
Date
Msg-id 20040317125306.B13349@zoraida.natserv.net
Whole thread Raw
In response to Check constraint  (Francisco Reyes <lists@natserv.com>)
List pgsql-general
On Wed, 17 Mar 2004, Stephan Szabo wrote:

> Actually, shouldn't a table level check constraint be able to do this with
> something like:
> check (purchase_type!=3 or comment is not null)

That worked Stephan.

Gregory. I think yours would work too. Saw Stephans answer and tested
before I saw your email.

Thanks guys.

pgsql-general by date:

Previous
From: "Valter"
Date:
Subject: Relation "xxxxx" does not exist
Next
From: Stephan Szabo
Date:
Subject: Re: Check constraint