Re: [HACKERS] latest parser changes

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Michael(dot)Meskes(at)usa(dot)net (Michael Meskes)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] latest parser changes
Date: 1999-01-19 20:47:10
Message-ID: 199901192047.PAA14491@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter T Mount 1999-01-19 21:05:49 Re: [HACKERS] Prepared statements (was: Postgres Speed or lack thereof)
Previous Message Bruce Momjian 1999-01-19 20:46:11 Re: [HACKERS] KPGsql