--- doc/src/sgml/ref/psql-ref.sgml +++ doc/src/sgml/ref/psql-ref.sgml @@ -465,7 +465,7 @@ <para> Do not read the start-up file (neither the system-wide <filename>psqlrc</filename> file nor the user's - <filename>~/.psqlrc</filename> file). + <filename>~/.desk/psqlrc</filename> file). </para> </listitem> </varlistentry> @@ -2253,7 +2253,7 @@ behavior, but autocommit-off is closer to the SQL spec. If you prefer autocommit-off, you might wish to set it in the system-wide <filename>psqlrc</filename> file or your - <filename>~/.psqlrc</filename> file. + <filename>~/.desk/psqlrc</filename> file. </para> </note> </listitem> @@ -2363,11 +2363,11 @@ <listitem> <para> The file name that will be used to store the history list. The default - value is <filename>~/.psql_history</filename>. For example, putting: + value is <filename>~/.desk/psql_history</filename>. For example, putting: <programlisting> -\set HISTFILE ~/.psql_history- :DBNAME +\set HISTFILE ~/.desk/psql_history- :DBNAME </programlisting> - in <filename>~/.psqlrc</filename> will cause + in <filename>~/.psql/psqlrc</filename> will cause <application>psql</application> to maintain a separate history for each database. </para> @@ -2945,7 +2945,7 @@ Before starting up, <application>psql</application> attempts to read and execute commands from the system-wide <filename>psqlrc</filename> file and the user's - <filename>~/.psqlrc</filename> file. + <filename>~/.desk/psqlrc</filename> file. (On Windows, the user's startup file is named <filename>%APPDATA%\postgresql\psqlrc.conf</filename>.) See <filename><replaceable>PREFIX</>/share/psqlrc.sample</> @@ -2958,9 +2958,9 @@ <listitem> <para> Both the system-wide <filename>psqlrc</filename> file and the user's - <filename>~/.psqlrc</filename> file can be made version-specific + <filename>~/.desk/psqlrc</filename> file can be made version-specific by appending a dash and the <productname>PostgreSQL</productname> - release number, for example <filename>~/.psqlrc-&version;</filename>. + release number, for example <filename>~/.desk/psqlrc-&version;</filename>. A matching version-specific file will be read in preference to a non-version-specific file. </para> @@ -2969,7 +2969,7 @@ <listitem> <para> The command-line history is stored in the file - <filename>~/.psql_history</filename>, or + <filename>~/.desk/psql_history</filename>, or <filename>%APPDATA%\postgresql\psql_history</filename> on Windows. </para> </listitem>