aboutsummaryrefslogtreecommitdiff
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:09 -0500
commitaa00af38c802b527338f0f14177c148a0cfed05c (patch)
tree4bf868a7c96cf6ae68a0044ca9c9b00de32702b7 /src
parentad2e041a3f4b0d3266b0848c0da6eadce7391316 (diff)
downloadpostgresql-aa00af38c802b527338f0f14177c148a0cfed05c.tar.gz
postgresql-aa00af38c802b527338f0f14177c148a0cfed05c.zip
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".
+--