pgsql: Accept pg_ctl timeout from the PGCTLTIMEOUT environment variable - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Accept pg_ctl timeout from the PGCTLTIMEOUT environment variable
Date
Msg-id E1aTgFN-0002oB-S2@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Accept pg_ctl timeout from the PGCTLTIMEOUT environment variable.

Many automated test suites call pg_ctl.  Buildfarm members axolotl,
hornet, mandrill, shearwater, sungazer and tern have failed when server
shutdown took longer than the pg_ctl default 60s timeout.  This addition
permits slow hosts to easily raise the timeout without us editing a
--timeout argument into every test suite pg_ctl call.  Back-patch to 9.1
(all supported versions) for the sake of automated testing.

Reviewed by Tom Lane.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/198242ede432f78561eb043c412a19fc88ddbed9

Modified Files
--------------
doc/src/sgml/ref/pg_ctl-ref.sgml | 15 ++++++++++++++-
src/bin/pg_ctl/pg_ctl.c          | 10 +++++++++-
2 files changed, 23 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Avoid use of sscanf() to parse ispell dictionary files.
Next
From: Noah Misch
Date:
Subject: pgsql: Accept pg_ctl timeout from the PGCTLTIMEOUT environment variable