| From: | Marko Kreen <marko(at)l-t(dot)ee> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: binary operators on integers |
| Date: | 2000-10-24 20:38:44 |
| Message-ID: | 20001024223844.A8271@l-t.ee |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
On Tue, Oct 24, 2000 at 10:23:55PM +0200, Peter Eisentraut wrote:
> This patch was installed, with xor as "#". The parser still needs work.
> Besides the known issue of "|", this also parses funny:
>
> => select 5 & ~ 6;
> ERROR: Unable to identify a right operator '&' for type 'int4'
I have known that from the beginning. On first patch I did not get
it work correctly, so in second patch I disabled all gram.y hack
altogether. So this patch does not change anything in parser/.
At the moment it should be used: select 5 & (~ 6);
I can hack the gram.y and scan.l to get those operators to work
but as I saw no consensus has been reached in -hackers whether
and how it should be solved globally?
--
marko
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2000-10-24 20:52:41 | Re: Fallback behavior for "UNKNOWN" types -- proposed change |
| Previous Message | Peter Eisentraut | 2000-10-24 20:23:55 | Re: binary operators on integers |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Hartzler | 2000-10-24 21:16:41 | Re: [PATCHES] add darwin/osxpb support to cvs |
| Previous Message | Peter Eisentraut | 2000-10-24 20:23:55 | Re: binary operators on integers |