pgsql: Provide query source text when parsing a SQL-standard function b
pgsql: Provide query source text when parsing a SQL-standard function b
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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/2197698.1617984583@sss.pgh.pa.us 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(-)