Commit e4c76191 authored by Bruce Momjian's avatar Bruce Momjian

Add space before :DBNAME for proper \set expansion.

Andreas Seltenreich
parent a89c109e
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.141 2005/06/10 16:26:59 neilc Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.142 2005/06/10 16:31:48 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -1994,7 +1994,7 @@ bar ...@@ -1994,7 +1994,7 @@ bar
The filename that will be used to store the history list. The default The filename that will be used to store the history list. The default
value is <filename>~/.psql_history</filename>. For example, using: value is <filename>~/.psql_history</filename>. For example, using:
<programlisting> <programlisting>
\set HISTFILE ~/.psql_history-:DBNAME \set HISTFILE ~/.psql_history- :DBNAME
</programlisting> </programlisting>
in <filename>~/.psqlrc</filename> will get <application>psql</application> 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.
......
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