diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-01-14 19:27:57 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-01-14 19:28:09 -0500 |
commit | aa00af38c802b527338f0f14177c148a0cfed05c (patch) | |
tree | 4bf868a7c96cf6ae68a0044ca9c9b00de32702b7 /src | |
parent | ad2e041a3f4b0d3266b0848c0da6eadce7391316 (diff) | |
download | postgresql-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.sample | 7 |
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". +-- |