mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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
This commit is contained in:
@ -96,6 +96,18 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</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>
|
||||
|
Reference in New Issue
Block a user