Account for collation when coercing the output of a SQL function.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2d59643dbccaf73bc1f90875ea02dcad641379cd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-04-14T21:30:36Z
Releases: 13.0
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

Files

Discussion