Re: operator exclusion constraints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: operator exclusion constraints
Date: 2009-11-07 00:05:13
Message-ID: 10114.1257552313@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jeff Davis <pgsql(at)j-davis(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-11-07 00:18:37 Re: "ERROR: could not read block 6 ...: read only 0 of 8192 bytes" after autovacuum cancelled
Previous Message Andrew Dunstan 2009-11-06 23:37:38 Re: plperl and inline functions -- first draft