Another go-round with resolution of ambiguous functions and operators.
authorTom Lane
Sun, 19 Mar 2000 00:19:39 +0000 (00:19 +0000)
committerTom Lane
Sun, 19 Mar 2000 00:19:39 +0000 (00:19 +0000)
commit440b0fea3d3e3ed6a07f3777fd12a70fb7fbf12b
tree348546899e2222a738fc43ae3c03802df6db1b51
parentf11d253e25fccc93704803d0840a8e7ada46249e
Another go-round with resolution of ambiguous functions and operators.
In function parsing, try for an actual function of the given name and
input types before trying to interpret the function call as a type
coercion request, rather than after.  Before, a function that had the
same name as a type and operated on a binary-compatible type wouldn't
get invoked.  Also, cross-pollinate between func_select_candidates and
oper_select_candidates to ensure that they use as nearly the same
resolution rules as possible.  A few other minor code cleanups too.
src/backend/parser/parse_func.c
src/backend/parser/parse_oper.c