From 6e414a171e8a91966b10ecd14aa367422870bdd2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 10 Nov 2007 21:48:51 +0000 Subject: Add pg_ctl -t/timeout parameter to control amount of time to wait for start/shutdown. --- doc/src/sgml/ref/pg_ctl-ref.sgml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 437281c26c0..f4200718c7a 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -1,5 +1,5 @@ @@ -21,9 +21,11 @@ PostgreSQL documentation + pg_ctl start -w + -t seconds -s -D datadir -l filename @@ -31,9 +33,11 @@ PostgreSQL documentation -p path -c + pg_ctl stop -W + -t seconds -s -D datadir -m @@ -44,9 +48,11 @@ PostgreSQL documentation + pg_ctl restart -w + -t seconds -s -D datadir -c @@ -59,20 +65,24 @@ PostgreSQL documentation -o options + pg_ctl reload -s -D datadir + pg_ctl status -D datadir + pg_ctl kill signal_name process_id + pg_ctl register -N servicename @@ -80,11 +90,14 @@ PostgreSQL documentation -P password -D datadir -w + -t seconds -o options + pg_ctl unregister -N servicename + @@ -261,12 +274,22 @@ PostgreSQL documentation + + + + + The number of seconds to wait when waiting for start or shutdown + to complete. + + + + - Wait for the start or shutdown to complete. Times out after - 60 seconds. This is the default for shutdowns. A successful + Wait for the start or shutdown to complete. The default wait time + is 60 seconds. This is the default option for shutdowns. A successful shutdown is indicated by removal of the PID file. For starting up, a successful psql -l indicates success. pg_ctl will attempt to -- cgit v1.2.3