From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Drouvot, Bertrand <bertranddrouvot.pg@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Andres Freund <andres@anarazel.de>
Subject: Re: Add a new BGWORKER_BYPASS_ROLELOGINCHECK flag
Date: Tue, 10 Oct 2023 13:36:01 +0900
Message-ID: <ZSTUsZIskXmxZUg_@paquier.xyz> (raw)
In-Reply-To: <240194.1696907518@sss.pgh.pa.us>
References: <26e7cd6a-6dd1-4b08-975b-62603eeb6f3f@gmail.com>
<CALj2ACUJf8ftjiTiNfuVKTvUM3N++dWKnhBOg1EJ29CwoTkXew@mail.gmail.com>
<ZR9QJrNJ8lJDZ41P@paquier.xyz>
<ZR-pSNRTY2izuNdg@paquier.xyz>
<ZR_AESc5tptmpP9t@paquier.xyz>
<3365937.1696801735@sss.pgh.pa.us>
<ZSPJ0dKz4fdjFs5n@paquier.xyz>
<159529.1696868418@sss.pgh.pa.us>
<ZSSAvZNDYZgrNvfX@paquier.xyz>
<240194.1696907518@sss.pgh.pa.us>
On Mon, Oct 09, 2023 at 11:11:58PM -0400, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> Saying that, I'm OK with just dropping this query, as it could also be
>> possible that one decides that calling pgstat_bestart() before the
>> datallowconn check is a good idea for a reason or another.
>
> Not sure if that's a likely change or not. However, if we're in
> agreement that this test step isn't buying much, let's just drop
> it and save the test cycles.
No problem here. f483b2090 has removed the query entirely, relying
now only on a wait_for_log() when the worker startup fails.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-hackers@postgresql.org
Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, bharath.rupireddyforpostgres@gmail.com, bertranddrouvot.pg@gmail.com, andres@anarazel.de
Subject: Re: Add a new BGWORKER_BYPASS_ROLELOGINCHECK flag
In-Reply-To: <ZSTUsZIskXmxZUg_@paquier.xyz>
References: <26e7cd6a-6dd1-4b08-975b-62603eeb6f3f@gmail.com> <CALj2ACUJf8ftjiTiNfuVKTvUM3N++dWKnhBOg1EJ29CwoTkXew@mail.gmail.com> <ZR9QJrNJ8lJDZ41P@paquier.xyz> <ZR-pSNRTY2izuNdg@paquier.xyz> <ZR_AESc5tptmpP9t@paquier.xyz> <3365937.1696801735@sss.pgh.pa.us> <ZSPJ0dKz4fdjFs5n@paquier.xyz> <159529.1696868418@sss.pgh.pa.us> <ZSSAvZNDYZgrNvfX@paquier.xyz> <240194.1696907518@sss.pgh.pa.us> <ZSTUsZIskXmxZUg_@paquier.xyz>
* 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