Re: operator exclusion constraints

Jeff Davis <pgsql@j-davis.com>

From: Jeff Davis <pgsql@j-davis.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Peter Eisentraut <peter_e@gmx.net>, Simon Riggs <simon@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2009-11-06T17:54:11Z
Lists: pgsql-hackers
On Thu, 2009-11-05 at 09:56 -0500, Tom Lane wrote:
> Yeah, we definitely want some parentheses delimiting the expression.
> EXCLUSIVE still feels like the wrong part-of-speech though.  How
> about EXCLUDING (...) BY ... instead?

If I put EXCLUSION in the type_func_name keyword list, it works fine.
But I'm having a little trouble trying to use EXCLUDING or EXCLUSIVE,
because if I move them from unreserved to any other keyword list, I get
reduce/reduce conflicts.

Am I doing something wrong? I would assume that making words more
reserved would usually not lead to conflicts.

Regards,
	Jeff Davis