From be6bbcef5678c67f7f1f48972d126233ff64ac48 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 22 Apr 2004 01:53:37 +0000 Subject: Add global psql config file, psql.rc.sample. --- doc/src/sgml/ref/psql-ref.sgml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 99c0dbd95e8..9779789bef2 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -440,7 +440,8 @@ PostgreSQL documentation - Do not read the start-up file ~/.psqlrc. + Do not read the start-up file /psql.rc or + ~/.psqlrc. @@ -1859,8 +1860,9 @@ bar The autocommit-on mode is PostgreSQL's traditional behavior, but autocommit-off is closer to the SQL spec. If you - prefer autocommit-off, you may wish to set it in - your .psqlrc file. + prefer autocommit-off, you may wish to set it in the system-wide + psql.rc or your + .psqlrc file. @@ -2488,9 +2490,12 @@ $endif Before starting up, psql attempts to - read and execute commands from the file - $HOME/.psqlrc. It could be used to set up - the client or the server to taste (using the \set + read and execute commands from the the system-wide + psql.rc file and the + $HOME/.psqlrc file in the user's home + directory. See PREFIX/share/psql.rc.sample + for information on setting up the system-wide file. It could be used + to set up the client or the server to taste (using the \set and SET commands). -- cgit v1.2.3