pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: Jaime Casanova <jcasanov@systemguards.com.ec>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: SQL-standard function body
Date: Thu, 08 Apr 2021 01:41:40 -0400
Message-ID: <1820954.1617860500@sss.pgh.pa.us> (raw )
In-Reply-To: <20210408052759.7bmyawm4djnrux6y@alap3.anarazel.de >
References: <20210315081448.63vagqr3ly45l74i@nol >
<c17ea953-0837-70ab-b408-522421697d54@2ndquadrant.com >
<CAJKUy5giffMO31KfBxgSgcaXRC48HfhqwWB6fewAE_8cgOGe2w@mail.gmail.com >
<20210331101256.d7h7d74o4celskt4@nol >
<9277ef6a-bfa8-9c06-8e91-16c2892120cc@2ndquadrant.com >
<20210403033943.dp6um65shvrovoj5@nol >
<01c65ea6-e5bf-22f4-cacc-6d0f6853a965@2ndquadrant.com >
<1646498.1617826937@sss.pgh.pa.us >
<YG54YggzyPrTFE+e@paquier.xyz >
<1819824.1617858962@sss.pgh.pa.us >
<20210408052759.7bmyawm4djnrux6y@alap3.anarazel.de >
Andres Freund <andres@anarazel.de> writes:
> Independent of this patch, it might be a good idea to have
> ExecInitParallelPlan() be robust against NULL querystrings. Places like
> executor_errposition() are certainly trying to be...
FWIW, I think the long-term drift of things is definitely that
we want to have the querystring available everywhere. Code like
executor_errposition is from an earlier era before we were trying
to enforce that. In particular, if the querystring is available in
the leader and not the workers, then you will get different error
reporting behavior in parallel query than non-parallel query, which
is surely a bad thing.
So IMO what you did here is definitely a short-term thing that
we should be looking to revert. The question at hand is why
Peter's patch broke this in the first place, and how hard it
will be to fix it properly. I'm entirely on board with reverting
the feature if that isn't readily fixable.
regards, tom lane
view thread (90+ messages) latest in thread
Message-ID: <1820954.1617860500@sss.pgh.pa.us>
Permalink: ../1820954.1617860500@sss.pgh.pa.us/
Also on: postgresql.org/message-id/1820954.1617860500@sss.pgh.pa.us
copy link · copy postgr.es
reply 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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, michael@paquier.xyz, peter.eisentraut@2ndquadrant.com, rjuju123@gmail.com, jcasanov@systemguards.com.ec, pgsql-hackers@lists.postgresql.org
Subject: Re: SQL-standard function body
In-Reply-To: <1820954.1617860500@sss.pgh.pa.us>
* 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