]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Accept pg_ctl timeout from the PGCTLTIMEOUT environment variable.
authorNoah Misch <noah@leadboat.com>
Thu, 11 Feb 2016 01:34:02 +0000 (20:34 -0500)
committerNoah Misch <noah@leadboat.com>
Thu, 11 Feb 2016 01:34:30 +0000 (20:34 -0500)
commit4492ab53b360eaebbd5bcfec2fb36d753da3e199
tree4693083cfdbe43ca0643d68208fbc30da973a39a
parent19e469410a8ccdc0c0d6cb362a02e35d1bb65c8a
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.
doc/src/sgml/ref/pg_ctl-ref.sgml
src/bin/pg_ctl/pg_ctl.c