From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Ensure gatherstate->nextreader is properly initialized.
Date: Mon, 05 Dec 2016 21:00:59 +0000
Message-ID: <E1cE0Nf-0003zW-VX@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Ensure gatherstate->nextreader is properly initialized.
The previously code worked OK as long as a Gather node was never
rescanned, or if it was rescanned, as long as it got at least as
many workers on rescan as it had originally. But if the number
of workers ever decreased on a rescan, then it could crash.
Andreas Seltenreich
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/53c7cff7200b6689b102f2e4a40650cf652dae39
Modified Files
--------------
src/backend/executor/nodeGather.c | 2 ++
1 file changed, 2 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: rhaas@postgresql.org
Subject: Re: pgsql: Ensure gatherstate->nextreader is properly initialized.
In-Reply-To: <E1cE0Nf-0003zW-VX@gemulon.postgresql.org>
References: <E1cE0Nf-0003zW-VX@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