Re: operator exclusion constraints - Mailing list pgsql-hackers

From Tom Lane
Subject Re: operator exclusion constraints
Date
Msg-id 10114.1257552313@sss.pgh.pa.us
Whole thread Raw
In response to Re: operator exclusion constraints  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: operator exclusion constraints
List pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> To make sure I understand what you're saying, you think that:

> CREATE TABLE foo
> (
>   exclusion int,
>   EXCLUSION (exclusion CHECK WITH =)
> );

> should work?

Well, it looks like it should be able to work, because left-paren
can't immediately follow a column name AFAIR.  Maybe I'm missing
something.  What's your grammar patch exactly, and what does
bison -v finger as being the problem?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: plperl and inline functions -- first draft
Next
From: Alvaro Herrera
Date:
Subject: Re: "ERROR: could not read block 6 ...: read only 0 of 8192 bytes" after autovacuum cancelled