From: | Rod Chamberlin <rod(at)querix(dot)com> |
---|---|
To: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
Cc: | "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>, "'Don Baccus '" <dhogaza(at)pacifier(dot)com>, "'Hannu Krosing '" <hannu(at)tm(dot)ee>, "''The Hermit Hacker ' '" <scrappy(at)hub(dot)org>, "''Bruce Momjian ' '" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "''pgsql-hackers(at)postgreSQL(dot)org ' '" <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Enhancing PGSQL to be compatible with Informix SQL |
Date: | 2000-01-07 14:44:57 |
Message-ID: | Pine.LNX.4.10.10001071433520.14942-100000@shiela.querix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, 7 Jan 2000, Thomas Lockhart wrote:
> > the best would be to implement ANSI outer joins, and then use the
> > rewriter to allow for the Oracle syntax, or something similar, just to
> > add readability to the SQL.
>
> When I tried adding the syntax to gram.y a while ago it gave
> shift/reduce errors on the "(+)" fields. I would guess that we would
> need to have this become a token in the lexer :((
>
I'd actually expect a potential reduce/reduce conflict between:
a_expr:
func_name '(' ... ')'
and a_expr '(' '+' ')'
since func_name is a ColID as is a_expr potentially, so the system must
work out whether the ColID reduces to an a_expr when it sees then '('
which it can't do (it needs another token to work that out).
So yes, you probably need a new lexer token.
> I'll have the code in gram.y (commented out) when I commit my next
> changes for this; someone can play with it if they want.
>
> - Thomas
>
> --
> Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
> South Pasadena, California
>
.............................Rod
+-----------------------------------------------------------------------------+
| Rod Chamberlin | rod(at)querix(dot)com Tel +44 1703 232345 |
| Software Engineer | Mob +44 7803 295406 |
| QueriX | Fax +44 1703 399685 |
+-----------------------------------------------------------------------------+
| The views expressed in this document do not necessarily represent those of |
| the management of QueriX (UK) Ltd. |
+-----------------------------------------------------------------------------+
From | Date | Subject | |
---|---|---|---|
Next Message | Adriaan Joubert | 2000-01-07 15:03:47 | Re: [HACKERS] New Search Engine ... UdmSearch |
Previous Message | D'Arcy J.M. Cain | 2000-01-07 14:34:58 | Re: [HACKERS] [Fwd: Re: First Major Open Source Database] |