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:31:31 +0000
Message-ID: <E1xRUtn-00000000RMM-3TfX@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
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2e0fe6d5ace1ae0307cc74fc8db6b94914003d6d
Modified Files
--------------
src/test/modules/oauth_validator/t/001_server.pl | 1 +
1 file changed, 1 insertion(+)
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: <E1xRUtn-00000000RMM-3TfX@gemulon.postgresql.org>
References: <E1xRUtn-00000000RMM-3TfX@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