diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index f083dba49a9..f7c8bc16a7f 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -3852,6 +3852,8 @@ SELECT 1 \bind \sendpipeline until interrupted, or the query fails, or the execution count limit (if given) is reached, or the query no longer returns the minimum number of rows. Wait the specified number of seconds (default 2) between executions. + The default wait can be changed with the variable + <xref linkend="app-psql-variables-watch-interval"/>). For backwards compatibility, <replaceable class="parameter">seconds</replaceable> can be specified with or without an <literal>interval=</literal> prefix. @@ -4746,6 +4748,17 @@ bar </listitem> </varlistentry> + <varlistentry id="app-psql-variables-watch-interval"> + <term><varname>WATCH_INTERVAL</varname></term> + <listitem> + <para> + This variable sets the default interval which <command>\watch</command> + waits between executing the query. Specifying an interval in the + command overrides this variable. + </para> + </listitem> + </varlistentry> + </variablelist> </refsect3> |