pgsql: Account for collation when coercing the output of a SQL function - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Account for collation when coercing the output of a SQL function
Date
Msg-id E1jOT8o-00025q-Ay@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Account for collation when coercing the output of a SQL function.

Commit 913bbd88d overlooked that the result of coerce_to_target_type
might need collation fixups.  Per report from Andreas Joseph Krogh.

Discussion: https://postgr.es/m/VisenaEmail.72.37d08ec2b8cb8fb5.17179940cd3@tc7-visena

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2d59643dbccaf73bc1f90875ea02dcad641379cd

Modified Files
--------------
src/backend/executor/functions.c      |  3 +++
src/test/regress/expected/collate.out | 15 ++++++++++++++-
src/test/regress/sql/collate.sql      |  8 ++++++++
3 files changed, 25 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Stop requiring an explicit return from perl subroutines
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Remove obsolete "hole in center of page" comment.