pgsql: Make contrib/tablefunc crosstab() also check typmod - Mailing list pgsql-committers

From Joe Conway
Subject pgsql: Make contrib/tablefunc crosstab() also check typmod
Date
Msg-id E1rj5GT-002yzP-SB@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make contrib/tablefunc crosstab() also check typmod

contrib/tablefunc connectby() checks both type OID and typmod for
its output columns while crosstab() only checks type OID. Fix that
by makeing the crosstab() check look more like the connectby() check.

Reported-by: Tom Lane
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/flat/18937.1709676295%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/81d13a8dc066e571dca032da0a5fc1d81214d2bb

Modified Files
--------------
contrib/tablefunc/tablefunc.c | 32 +++++++++++++++++++-------------
1 file changed, 19 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Simplify and merge unwanted-module drop logic in AdjustUpgrade.p
Next
From: Jeff Davis
Date:
Subject: pgsql: Catalog changes preparing for builtin collation provider.