aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2013-01-25 12:01:45 -0500
committerRobert Haas <rhaas@postgresql.org>2013-01-25 12:03:37 -0500
commita37e83c0a99ecf50c64baffc6c88c3d805d6e822 (patch)
tree9f19983e12bd8773f56d6323796b9b0e008bac7c /doc/src
parent88886c79cc4fc8d8f7c5b7304ad1f13508f5b025 (diff)
downloadpostgresql-a37e83c0a99ecf50c64baffc6c88c3d805d6e822.tar.gz
postgresql-a37e83c0a99ecf50c64baffc6c88c3d805d6e822.zip
Make it easy to time out pg_isready, and make the default 3 seconds.
Along the way, add a missing line to the help message. Phil Sorber, reviewed by Fujii Masao
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_isready.sgml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_isready.sgml b/doc/src/sgml/ref/pg_isready.sgml
index ea0d3a75063..ff80a78305e 100644
--- a/doc/src/sgml/ref/pg_isready.sgml
+++ b/doc/src/sgml/ref/pg_isready.sgml
@@ -97,6 +97,18 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
+ <term><option>-t <replaceable class="parameter">seconds</replaceable></></term>
+ <term><option>--timeout=<replaceable class="parameter">seconds</replaceable></></term>
+ <listitem>
+ <para>
+ The maximum number of seconds to wait when attempting connection before
+ returning that the server is not responding. Setting to 0 disables. The
+ default is 3 seconds.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-U <replaceable class="parameter">username</replaceable></></term>
<term><option>--username=<replaceable class="parameter">username</replaceable></></term>
<listitem>