Thread: pgsql: Add collation assignment to CALL statement

pgsql: Add collation assignment to CALL statement

From
Peter Eisentraut
Date:
Add collation assignment to CALL statement

Otherwise functions that require collation information will not have
it if they are called in arguments to a CALL statement.

Reported-by: Jean-Marc Voillequin <Jean-Marc.Voillequin@moodys.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion:
https://www.postgresql.org/message-id/flat/1EC8157EB499BF459A516ADCF135ADCE39FFAC54%40LON-WGMSX712.ad.moodys.net

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/004f494b513c3398030983b2644eeea8776c0a5d

Modified Files
--------------
src/backend/parser/analyze.c                   |  2 ++
src/test/regress/expected/create_procedure.out |  7 +++++++
src/test/regress/sql/create_procedure.sql      | 11 +++++++++++
3 files changed, 20 insertions(+)