Re: [HACKERS] Type resolution for operators

2000-11-08 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Thomas Lockhart writes: >> select int '1' = '01'; >> which, btw, returns 'true'. > Uh, how can an integer be equal to a character value? Where did the type > system go? Nowhere. This is the same behavior as that statement had in 7.0 (and many vers

[HACKERS] Type resolution for operators

2000-11-07 Thread Thomas Lockhart
I've committed changes to parse_oper.c to enable fallback to string type when argument(s) are of UNKNOWN type. This is the same code (verbatim) as I recently added for function resolution. An obvious example is for select '1' = '01'; which used to throw an error and which now resolves to two