mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Add space before :DBNAME for proper \set expansion.
Andreas Seltenreich
This commit is contained in:
parent
a89c109e30
commit
e4c76191a9
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<!--
|
<!--
|
||||||
$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
|
||||||
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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue