Re: [HACKERS] latest parser changes - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] latest parser changes
Date
Msg-id 199901192047.PAA14491@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] latest parser changes  (Michael Meskes <Michael.Meskes@usa.net>)
Responses Re: [HACKERS] latest parser changes
List 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@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
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] KPGsql
Next
From: Peter T Mount
Date:
Subject: Re: [HACKERS] Prepared statements (was: Postgres Speed or lack thereof)