mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Add space before :DBNAME for proper \set expansion.
Andreas Seltenreich
This commit is contained in:
@ -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.
|
||||||
|
Reference in New Issue
Block a user