pgsql: Fix BackgroundPsql's set_query_timer_restart() issue without arg

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix BackgroundPsql's set_query_timer_restart() issue without arg
Date: 2023-11-30 01:16:15
Message-ID: E1r8Vf5-007t5U-4h@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f99dd98242d41fd33a93c913430cc431b7baa8e2

Modified Files
--------------
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2023-11-30 01:16:35 pgsql: Fix BackgroundPsql's set_query_timer_restart() issue without arg
Previous Message Andres Freund 2023-11-29 18:36:19 Re: pgsql: meson: docs: Add {html,man} targets, rename install-doc-*