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 <[email protected]>
Discussion: 
https://postgr.es/m/os9pr01mb12149aa18eea475d2aa22fd3bf5...@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(+)

Reply via email to