]> granicus.if.org Git - postgresql/commit
Add collation assignment to CALL statement
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 5 Feb 2019 14:08:53 +0000 (15:08 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 7 Feb 2019 07:25:47 +0000 (08:25 +0100)
commitcd5afd8175e256fa401cf440d06304df746abe62
treea29f6d3f0937e9892b8475879e6d736ea6697143
parent793c736d69091d385a967b2740cc93cfb7a7b076
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
src/backend/parser/analyze.c
src/test/regress/expected/create_procedure.out
src/test/regress/sql/create_procedure.sql