Re: operator exclusion constraints
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Davis <pgsql@j-davis.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Peter Eisentraut <peter_e@gmx.net>, Simon Riggs <simon@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2009-11-07T00:05:13Z
Lists: 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