expandRTE and get_rte_attribute_type mistakenly always imputed typmod -1
Tom Lane <tgl@sss.pgh.pa.us>
expandRTE and get_rte_attribute_type mistakenly always imputed typmod -1 to columns of an RTE that was a function returning RECORD with a column definition list. Apparently no one has tried to use non-default typmod with a function returning RECORD before.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/parse_relation.c | modified | +3 −3 |