Add option to specify timeout seconds to BackgroundPsql.pm.

Masahiko Sawada <msawada@postgresql.org>

Commit: 334f512f45ebc946ca1a5aa51808b4447f6384a0
Author: Masahiko Sawada <msawada@postgresql.org>
Date: 2023-11-30T05:08:34Z
Releases: 17.0
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

Files

Discussion