Pass atttypmod to CoerceTargetExpr, so that it can pass it on to
Tom Lane <tgl@sss.pgh.pa.us>
Pass atttypmod to CoerceTargetExpr, so that it can pass it on to coerce_type, so that the right things happen when coercing a previously- unknown constant to a destination data type.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/heap.c | modified | +3 −3 |
| src/backend/parser/parse_clause.c | modified | +2 −2 |
| src/backend/parser/parse_expr.c | modified | +3 −3 |
| src/backend/parser/parse_node.c | modified | +8 −6 |
| src/backend/parser/parse_target.c | modified | +7 −6 |
| src/backend/rewrite/rewriteHandler.c | modified | +2 −2 |
| src/include/parser/parse_target.h | modified | +2 −2 |