pgsql: Fix collation of JSON_TABLE output columns

Started by Peter Eisentrautabout 4 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Fix collation of JSON_TABLE output columns

The output columns of JSON_TABLE should have the collations of their
data type. The existing implementation sets the default collation if
the type is collatable.

Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: /messages/by-id/9d75ce67-0121-5050-5bec-bf5009db55ce@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/21724558650a7387ffbc2b0da53d6314389419bb

Modified Files
--------------
src/backend/parser/parse_jsontable.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)