Add collation assignment to CALL statement
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/analyze.c | modified | +2 −0 |
| src/test/regress/expected/create_procedure.out | modified | +7 −0 |
| src/test/regress/sql/create_procedure.sql | modified | +11 −0 |
Discussion
- Weird "could not determine which collation to use for string comparison" with LEAST/GREATEST on PG11 procedure 5 messages · 2018-11-21 → 2019-02-07