From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix slot type assumptions for nodeGather[Merge].
Date: Fri, 16 Nov 2018 07:22:50 +0000
Message-ID: <E1gNYSo-0003vz-M9@gemulon.postgresql.org> (raw)
Fix slot type assumptions for nodeGather[Merge].
The assumption made in 1a0586de3657c was wrong, as evidenced by
buildfarm failure on locust, which runs with
force_parallel_mode=regress. The tuples accessed in either nodes are
in the outer slot, and we can't trivially rely on the slot type being
known because the leader might execute the subsidiary node directly,
or via the tuple queue on a worker. In the latter case the tuple will
always be a heaptuple slot, but in the former, it'll be whatever the
subsidiary node returns.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a387a3dff9001225ad571ff2755d139f5bd193b3
Modified Files
--------------
src/backend/executor/nodeGather.c | 22 ++++++++++++++++++----
src/backend/executor/nodeGatherMerge.c | 14 +++++++++++++-
2 files changed, 31 insertions(+), 5 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: andres@anarazel.de
Subject: Re: pgsql: Fix slot type assumptions for nodeGather[Merge].
In-Reply-To: <E1gNYSo-0003vz-M9@gemulon.postgresql.org>
References: <E1gNYSo-0003vz-M9@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