pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Account for collation when coercing the output of a SQL function
Date: Tue, 14 Apr 2020 21:30:46 +0000
Message-ID: <E1jOT8o-00025q-Ay@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1jOT8o-00025q-Ay@gemulon.postgresql.org>
Permalink:  ../E1jOT8o-00025q-Ay@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jOT8o-00025q-Ay@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Account for collation when coercing the output of a SQL function
  In-Reply-To: <E1jOT8o-00025q-Ay@gemulon.postgresql.org>
  References: <E1jOT8o-00025q-Ay@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox