summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-01-14 19:27:57 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2014-01-14 19:28:06 -0500
commit74c32f3455de7bed1a13f1f8b0274a7d43e0e76d (patch)
treefaca55567083a808c3b74ebefaf0eda89c65efab /src
parentebde6c40148c9f811f7c6d35f67e7ea3ce2d9b34 (diff)
Improve FILES section of psql reference page.
Primarily, explain where to find the system-wide psqlrc file, per recent gripe from John Sutton. Do some general wordsmithing and improve the markup, too. Also adjust psqlrc.sample so its comments about file location are somewhat trustworthy. (Not sure why we bother with this file when it's empty, but whatever.) Back-patch to 9.2 where the startup file naming scheme was last changed.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/psqlrc.sample7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/psql/psqlrc.sample b/src/bin/psql/psqlrc.sample
index 6054fabb380..8152cace2b0 100644
--- a/src/bin/psql/psqlrc.sample
+++ b/src/bin/psql/psqlrc.sample
@@ -1,7 +1,8 @@
--
--- psql configuration file
+-- system-wide psql configuration file
--
-- This file is read before the .psqlrc file in the user's home directory.
--
--- Copy this to your sysconf directory (typically /usr/local/pgsql/etc) and
--- rename it psqlrc.
+-- Copy this to your installation's sysconf directory and rename it psqlrc.
+-- The sysconf directory can be identified via "pg_config --sysconfdir".
+--