Commit a89c109e authored by Neil Conway's avatar Neil Conway

Minor cleanup of documentation for recently-added HISTFILE psql variable.

parent d46bc444
<!-- <!--
$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 ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment