Обсуждение: pgsql: Make contrib/tablefunc crosstab() also check typmod

Поиск
Список
Период
Сортировка

pgsql: Make contrib/tablefunc crosstab() also check typmod

От
Joe Conway
Дата:
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(-)