pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add option to specify timeout seconds to BackgroundPsql.pm.
Date: Thu, 30 Nov 2023 05:09:48 +0000
Message-ID: <E1r8ZJ6-007unH-D3@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1r8ZJ6-007unH-D3@gemulon.postgresql.org>
Permalink:  ../E1r8ZJ6-007unH-D3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1r8ZJ6-007unH-D3@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add option to specify timeout seconds to BackgroundPsql.pm.
  In-Reply-To: <E1r8ZJ6-007unH-D3@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox