Re: pgsql: Harden new test case against force_parallel_mode = regress. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgsql: Harden new test case against force_parallel_mode = regress.
Date
Msg-id 2506573.1677866611@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Harden new test case against force_parallel_mode = regress.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Mar 3, 2023 at 12:46 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Couldn't we install the leader's snapshot into both transactions?

> Yeah, maybe that would Just Work. Not sure.

Well, IIUC the worker is currently getting a brand new snapshot
for its startup transaction, which is exactly what you said upthread
it should never do.  Seems like that could have more failure modes
than just this one.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Harden new test case against force_parallel_mode = regress.
Next
From: Jeroen Vermeulen
Date:
Subject: Re: libpq: PQgetCopyData() and allocation overhead