Function-call-style type coercions should be treated as explicit
Tom Lane <tgl@sss.pgh.pa.us>
Function-call-style type coercions should be treated as explicit coercions, not implicit ones. For example, 'select abstime(1035497293)' should succeed because there is an explicit binary coercion from int4 to abstime.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/parse_coerce.c | modified | +2 −5 |
| src/backend/parser/parse_func.c | modified | +9 −2 |
| src/include/parser/parse_coerce.h | modified | +4 −1 |