From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Harden new test case against force_parallel_mode = regress.
Date: Fri, 03 Mar 2023 11:37:56 -0500
Message-ID: <2478846.1677861476@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoY-dsB-6GyF8q+V0T5+0Gbw0cT6TE7_8SsnESeUHZpnZQ@mail.gmail.com>
References: <E1pXri2-001aid-6W@gemulon.postgresql.org>
<CA+TgmoY-dsB-6GyF8q+V0T5+0Gbw0cT6TE7_8SsnESeUHZpnZQ@mail.gmail.com>
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Mar 2, 2023 at 5:47 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Per buildfarm: worker processes can't see a role created in
>> the current transaction.
> Now why would that happen? Surely the snapshot for each command is
> passed down from leader to worker, and the worker is not free to
> invent a snapshot from nothing.
The workers were failing at startup, eg (from [1]):
+ERROR: role "regress_psql_user" does not exist
+CONTEXT: while setting parameter "session_authorization" to "regress_psql_user"
Maybe this says that worker startup needs to install the snapshot before
doing any catalog accesses? Anyway, I'd be happy to revert this test
hack if you care to make the case work.
regards, tom lane
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, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Harden new test case against force_parallel_mode = regress.
In-Reply-To: <2478846.1677861476@sss.pgh.pa.us>
References: <E1pXri2-001aid-6W@gemulon.postgresql.org> <CA+TgmoY-dsB-6GyF8q+V0T5+0Gbw0cT6TE7_8SsnESeUHZpnZQ@mail.gmail.com> <2478846.1677861476@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