diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 55aa5f2ac1d..fdeaea60404 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -3341,6 +3341,26 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' </varlistentry> <varlistentry> + <term><envar>PSQL_HISTORY</envar></term> + + <listitem> + <para> + Alternative location for the command history file. Tilde ("~") expansion is performed. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><envar>PSQLRC</envar></term> + + <listitem> + <para> + Alternative location of the user's .psqlrc file. Tilde ("~") expansion is performed. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><envar>SHELL</envar></term> <listitem> @@ -3390,6 +3410,11 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' to set up the client or the server to taste (using the <command>\set </command> and <command>SET</command> commands). </para> + <para> + The location of the user's <filename>~/.psqlrc</filename> file can + also be set explicitly via the <envar>PSQLRC</envar> environment + setting. + </para> </listitem> <listitem> @@ -3411,6 +3436,11 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' <filename>~/.psql_history</filename>, or <filename>%APPDATA%\postgresql\psql_history</filename> on Windows. </para> + <para> + The location of the history file can + also be set explicitly via the <envar>PSQL_HISTORY</envar> environment + setting. + </para> </listitem> </itemizedlist> </refsect1> |