> On Mon, Jan 18, 1999 at 10:00:14PM -0500, Bruce Momjian wrote:
> > > > Since FOR UPDATE is not allowed with UNION I suppose it is also not allowed
> > > > with INTERSECT and EXCEPT. Is that correct?
> >
> > Looks like the tests you make in gram.y will still catch those.
>
> Where? I just see:
>
> if (n->unionClause != NULL)
> elog(ERROR, "SELECT FORUPDATE is not allowed with UNION clause");
>
> but not intersect and except. But then I haven't had to time to read the
> code carefully.
I thought INTERSECT and EXCEPT used UNION as well, or is that false? I
don't know.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026