pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: oauth: Apply bgconn timeout per query in 001_server
Date: Thu, 12 Nov 2026 13:32:49 +0000
Message-ID: <E1xRUv3-00000000RPb-3bwB@gemulon.postgresql.org> (raw)

oauth: Apply bgconn timeout per query in 001_server

The background psql session in oauth_validator/001_server lives
for most of the test but its timer was never restarted.  On slow
or loaded buildfarm animals the tests can exceed timeout_default
and the next query fails with "IPC::Run: timeout on timer #1".
Fix by restarting the timer per query.  Backpatch to v18 where
the test was introduced.

Author: Zsolt Parragi <zsolt.parragi@percona.com>
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/da36a19a6193a01415365126226b5aa6952c43af

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



view thread (3+ messages)

Message-ID: <E1xRUv3-00000000RPb-3bwB@gemulon.postgresql.org>
Permalink:  ../E1xRUv3-00000000RPb-3bwB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xRUv3-00000000RPb-3bwB@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: dgustafsson@postgresql.org
  Subject: Re: pgsql: oauth: Apply bgconn timeout per query in 001_server
  In-Reply-To: <E1xRUv3-00000000RPb-3bwB@gemulon.postgresql.org>
  References: <E1xRUv3-00000000RPb-3bwB@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