agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Use per-query timeout in subscription test
2+ messages / 1 participants
[nested] [flat]

* pgsql: Use per-query timeout in subscription test
@ 2026-08-12 07:43 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2026-08-12 07:43 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Use per-query timeout in subscription test
@ 2026-08-12 07:43 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2026-08-12 07:43 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7cda7b50d562a03f1c2e0c1d2f2e970acbd769e8

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-08-12 07:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 07:43 pgsql: Use per-query timeout in subscription test Daniel Gustafsson <dgustafsson@postgresql.org>
2026-08-12 07:43 pgsql: Use per-query timeout in subscription test Daniel Gustafsson <dgustafsson@postgresql.org>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox