Fix BackgroundPsql's set_query_timer_restart() issue without argument.
authorMasahiko Sawada <msawada@postgresql.org>
Thu, 30 Nov 2023 01:14:17 +0000 (10:14 +0900)
committerMasahiko Sawada <msawada@postgresql.org>
Thu, 30 Nov 2023 01:14:17 +0000 (10:14 +0900)
commitf99dd98242d41fd33a93c913430cc431b7baa8e2
tree088930bac847e5bed4e152ff86d7f3a00a6a5274
parent03749325d16c4215ecd6d6a6fe117d93931d84aa
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
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm