pgsql: Add option to specify timeout seconds to BackgroundPsql.pm.

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add option to specify timeout seconds to BackgroundPsql.pm.
Date: 2023-11-30 05:09:48
Message-ID: E1r8ZJ6-007unH-D3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add option to specify timeout seconds to BackgroundPsql.pm.

Previously, a background psql session uses the default timeout and it
cannot be overridden. This change adds a new option to set the timeout
during start.

There are no users of this new option. It is needed for an upcoming
patch adding tests for XID wraparound.

Reviewed-by: Daniel Gustafsson, Noah Misch
Discussion: https://postgr.es/m/C9CF2F76-0D81-4C9D-9832-202BE8517056%40yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/334f512f45ebc946ca1a5aa51808b4447f6384a0

Modified Files
--------------
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm | 10 ++++++----
src/test/perl/PostgreSQL/Test/Cluster.pm | 11 ++++++++---
2 files changed, 14 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-11-30 05:12:01 pgsql: Apply quotes more consistently to GUC names in logs
Previous Message Peter Eisentraut 2023-11-30 05:05:24 pgsql: Remove unused macro