agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use per-query timeout in subscription test
Date: Wed, 12 Aug 2026 07:43:45 +0000
Message-ID: <E1wu3cm-00000000EO9-252s@gemulon.postgresql.org> (raw)

Use per-query timeout in subscription test

A buildfarm failure in subscription/038_walsnd_shutdown_timeout was
diagnosed to the background psql session timing out due to a backup
taking a long time.  The session was using a single timeout for all
queries, so switch to resetting the timer for each query to make it
survive slow backups due to constrained buildfarm machines.

Backpatch to v19 where the test was introduced.

Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/OS9PR01MB12149AA18EEA475D2AA22FD3BF5D12@OS9PR01MB12149.jpnprd01.prod.outlook.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2eb9a8e84a53cd1a202a757d704139930bc19a96

Modified Files
--------------
src/test/subscription/t/038_walsnd_shutdown_timeout.pl | 1 +
1 file changed, 1 insertion(+)



view thread (2+ messages)  latest in thread

Message-ID: <E1wu3cm-00000000EO9-252s@gemulon.postgresql.org>
Permalink:  ../E1wu3cm-00000000EO9-252s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wu3cm-00000000EO9-252s@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use per-query timeout in subscription test
  In-Reply-To: <E1wu3cm-00000000EO9-252s@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox