pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacob Champion <jchampion@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: oauth_validator: Remove racing GUC check
Date: Thu, 08 Oct 2026 18:02:22 +0000
Message-ID: <E1xEsRi-00000000qLm-0bQh@gemulon.postgresql.org> (raw)

oauth_validator: Remove racing GUC check

Follow-up to bca67e5a3. The test added there changed the value of
oauth_validator_libraries, waited for the postmaster to apply it, and
verified the change on an existing background connection. But there's no
guarantee that the SIGHUP will have arrived and completed its work on
existing backends by that time, so the final test flaked.

We only care about the postmaster's state here, since we're testing the
GUC's effects on newly forked backends, so remove the background check
entirely.

Per buildfarm member serinus.

Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/a37a3cea-5bd8-4385-a1d4-bb89394c079c%40gmail.com
Backpatch-through: 18

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/08f24a1152c264882209e5e555e1bfa14b11ad84

Modified Files
--------------
src/test/modules/oauth_validator/t/001_server.pl | 2 --
1 file changed, 2 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1xEsRi-00000000qLm-0bQh@gemulon.postgresql.org>
Permalink:  ../E1xEsRi-00000000qLm-0bQh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xEsRi-00000000qLm-0bQh@gemulon.postgresql.org

 · 

reply

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: jchampion@postgresql.org
  Subject: Re: pgsql: oauth_validator: Remove racing GUC check
  In-Reply-To: <E1xEsRi-00000000qLm-0bQh@gemulon.postgresql.org>
  References: <E1xEsRi-00000000qLm-0bQh@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