[COMMITTERS] pgsql: Fix reporting of column typmods for multi-row VALUES constructs.

2016-12-09 Thread Tom Lane
Fix reporting of column typmods for multi-row VALUES constructs. expandRTE() and get_rte_attribute_type() reported the exprType() and exprTypmod() values of the expressions in the first row of the VALUES as being the column type/typmod returned by the VALUES RTE. That's fine for the data type, si

[COMMITTERS] pgsql: Fix reporting of column typmods for multi-row VALUES constructs.

2016-12-09 Thread Tom Lane
Fix reporting of column typmods for multi-row VALUES constructs. expandRTE() and get_rte_attribute_type() reported the exprType() and exprTypmod() values of the expressions in the first row of the VALUES as being the column type/typmod returned by the VALUES RTE. That's fine for the data type, si

[COMMITTERS] pgsql: Fix reporting of column typmods for multi-row VALUES constructs.

2016-12-09 Thread Tom Lane
Fix reporting of column typmods for multi-row VALUES constructs. expandRTE() and get_rte_attribute_type() reported the exprType() and exprTypmod() values of the expressions in the first row of the VALUES as being the column type/typmod returned by the VALUES RTE. That's fine for the data type, si

[COMMITTERS] pgsql: Fix reporting of column typmods for multi-row VALUES constructs.

2016-12-09 Thread Tom Lane
Fix reporting of column typmods for multi-row VALUES constructs. expandRTE() and get_rte_attribute_type() reported the exprType() and exprTypmod() values of the expressions in the first row of the VALUES as being the column type/typmod returned by the VALUES RTE. That's fine for the data type, si

[COMMITTERS] pgsql: Fix reporting of column typmods for multi-row VALUES constructs.

2016-12-09 Thread Tom Lane
Fix reporting of column typmods for multi-row VALUES constructs. expandRTE() and get_rte_attribute_type() reported the exprType() and exprTypmod() values of the expressions in the first row of the VALUES as being the column type/typmod returned by the VALUES RTE. That's fine for the data type, si

[COMMITTERS] pgsql: Fix reporting of column typmods for multi-row VALUES constructs.

2016-12-08 Thread Tom Lane
Fix reporting of column typmods for multi-row VALUES constructs. expandRTE() and get_rte_attribute_type() reported the exprType() and exprTypmod() values of the expressions in the first row of the VALUES as being the column type/typmod returned by the VALUES RTE. That's fine for the data type, si