Fix BackgroundPsql's set_query_timer_restart() issue without argument.

Masahiko Sawada <msawada@postgresql.org>

Commit: c684d7c80f5cb60d2c67a42ef4568dbc121fed6e
Author: Masahiko Sawada <msawada@postgresql.org>
Date: 2023-11-30T01:14:26Z
Releases: 16.2
Fix BackgroundPsql's set_query_timer_restart() issue without argument.

The set_query_timer_restart() required an argument to define a value
to query_timer_restart, but none of the existing callers passes an
argument to this function.

This changes the function to set a value without an argument.

Backpatch through 16 where the background psql TAP functions were
refactored by 664d757531e1.

Reviewed-by: Bharath Rupireddy, Tom Lane
Discussion: https://postgr.es/m/CAD21AoA0B6VKe_5A9nZi8i5umwSN-zJJuPVNht9DaOZ9SJumMA@mail.gmail.com
Backpatch-through: 16

Files

PathChange+/−
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm modified +1 −1

Discussion