diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 782d91411e..48391117a8 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1,5 +1,5 @@
@@ -79,7 +79,9 @@ PostgreSQL documentation
Specifies that psql is to execute one
command string, command,
- and then exit. This is useful in shell scripts.
+ and then exit. This is useful in shell scripts. Start-up files
+ (psqlrc and ~/.psqlrc) are
+ ignored with this option.
command must be either
@@ -3090,10 +3092,12 @@ $endif
- Before starting up, psql attempts to
+ Unless it is passed an
+ or option,
+ psql attempts to
read and execute commands from the system-wide
psqlrc file and the user's
- ~/.psqlrc file.
+ ~/.psqlrc file before starting up.
(On Windows, the user's startup file is named
%APPDATA%\postgresql\psqlrc.conf.)
See PREFIX>/share/psqlrc.sample>