Re: constraint expression - Mailing list pgsql-general

From Kris Jurka
Subject Re: constraint expression
Date
Msg-id Pine.BSO.4.56.0408090300450.30738@leary.csoft.net
Whole thread Raw
In response to constraint expression  (2004@niederland.com (Roger Niederland))
List pgsql-general

On Fri, 6 Aug 2004, Roger Niederland wrote:

> create table test (a int, b int, c int,
> constraint aname check (((a=0) and (b is not null)) or ((a=1) and (c
> is not null)));
>

You are missing the closing ) for the create table statement.

Kris Jurka

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Losing records when server hang
Next
From: "Richard Connamacher"
Date:
Subject: Embedded Database