CHECK and IN (Sets in general) - What's the story?

From: k_ogorman(at)kompass(dot)ie
To: pgsql-sql(at)postgresql(dot)org
Subject: CHECK and IN (Sets in general) - What's the story?
Date: 1998-08-20 14:12:42
Message-ID: 009CAFD5.71417C54.5@kompass.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Is there a known reason why the following definition fails
the parser at the IN keyword?:

create table kev_test ( my_tag char check (my_tag in ('A', 'B', 'C')));

The keyword IN is defined in Postgres' dialect (or it seems to be), so I'm
at a loss as to the problem.

K.
-

--

Kevin O' Gorman - k_ogorman(at)kompass(dot)ie - programmer, Kompass Internet

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Holger Mitterwald 1998-08-21 07:30:07 Re: [SQL] CHECK and IN (Sets in general) - What's the story?
Previous Message Steve Maring 1998-08-20 13:50:28 problem with LIKE predicate and wildcards