Thread: pgsql/ oc/src/sgml/typeconv.sgml rc/backend/co ...

pgsql/ oc/src/sgml/typeconv.sgml rc/backend/co ...

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/10/04 18:06:46

Modified files:
    doc/src/sgml   : typeconv.sgml
    src/backend/commands: indexcmds.c
    src/backend/parser: parse_func.c
    src/include/parser: parse_func.h

Log message:
    Consider interpreting a function call as a trivial (binary-compatible)
    type coercion after failing to find an exact match in pg_proc, but before
    considering interpretations that involve a function call with one or
    more argument type coercions.  This avoids surprises wherein what looks
    like a type coercion is interpreted as coercing to some third type and
    then to the destination type, as in Dave Blasby's bug report of 3-Oct-01.
    See subsequent discussion in pghackers.