Re: [PATCH] Support for Array ELEMENT Foreign Keys

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Cc: pgsql-hackers@postgresql.org
Date: 2012-10-19T02:41:22Z
Lists: pgsql-hackers
I wrote:
> Or we could go back to using ARRAY here --- that should be safe since
> ARRAY is already fully reserved.

Ugh ... no, that doesn't work, because ARRAY[...] is allowed in c_expr
and hence b_expr.  So the ambiguity would still be there.  We'd need a
different fully-reserved keyword to go this way.

			regards, tom lane