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:27:57 -0500
commit5df99f6481b1eadbcbc8547d2e387f4dcf192c6f (patch)
tree8b132f32ab34d4276d3412cca9cf7462083429a0 /src
parent061b079f89800929a863a692b952207cadf15886 (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".
+--