From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Provide query source text when parsing a SQL-standard function b
Date: Thu, 15 Apr 2021 21:24:16 +0000
Message-ID: <E1lX9TE-0003QV-2i@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Provide query source text when parsing a SQL-standard function b
In-Reply-To: <E1lX9TE-0003QV-2i@gemulon.postgresql.org>
References: <E1lX9TE-0003QV-2i@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox