Provide query source text when parsing a SQL-standard function body. Without this, we lose error cursor positions, as shown in the modified regression test result.
Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/409723365b2708acd3bdf2e830257504bdefac4b Modified Files -------------- src/backend/commands/functioncmds.c | 10 ++++++++-- src/test/regress/expected/create_function_3.out | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-)
