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.
Showing
- doc/src/sgml/typeconv.sgml 11 additions, 11 deletionsdoc/src/sgml/typeconv.sgml
- src/backend/commands/indexcmds.c 14 additions, 4 deletionssrc/backend/commands/indexcmds.c
- src/backend/parser/parse_func.c 80 additions, 65 deletionssrc/backend/parser/parse_func.c
- src/include/parser/parse_func.h 14 additions, 4 deletionssrc/include/parser/parse_func.h
Loading
Please register or sign in to comment