mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 00:01:20 -04:00
Minor cleanup of documentation for recently-added HISTFILE psql variable.
This commit is contained in:
parent
d46bc444ac
commit
a89c109e30
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.140 2005/06/10 15:34:25 momjian Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.141 2005/06/10 16:26:59 neilc Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -1991,13 +1991,12 @@ bar
|
|||||||
<term><varname>HISTFILE</varname></term>
|
<term><varname>HISTFILE</varname></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
This variable contains the filename used to save the history.
|
The filename that will be used to store the history list. The default
|
||||||
Its default value is <filename>~/.psql_history</filename>.
|
value is <filename>~/.psql_history</filename>. For example, using:
|
||||||
For example, use:
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
\set HISTFILE ~/.psql_history-:DBNAME
|
\set HISTFILE ~/.psql_history-:DBNAME
|
||||||
</programlisting>
|
</programlisting>
|
||||||
in your <filename>~/.psqlrc</filename> will get psql to
|
in <filename>~/.psqlrc</filename> will get <application>psql</application> to
|
||||||
maintain a separate history for each database.
|
maintain a separate history for each database.
|
||||||
</para>
|
</para>
|
||||||
<note>
|
<note>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user