aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-02-01 22:36:44 -0500
committerPeter Eisentraut <peter_e@gmx.net>2015-02-01 22:40:13 -0500
commit0ca8cc581e1fd097005bb31bfde516ce38c83d6e (patch)
treee7800aa58296435c533392a24c45c749f058d25f
parente29bbb9c6eb66e67597d70db747f33c7bc365ac8 (diff)
downloadpostgresql-0ca8cc581e1fd097005bb31bfde516ce38c83d6e.tar.gz
postgresql-0ca8cc581e1fd097005bb31bfde516ce38c83d6e.zip
doc: Improve claim about location of pg_service.conf
The previous wording claimed that the file was always in /etc, but of course this varies with the installation layout. Write instead that it can be found via `pg_config --sysconfdir`. Even though this is still somewhat incorrect because it doesn't account of moved installations, it at least conveys that the location depends on the installation.
-rw-r--r--doc/src/sgml/libpq.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 0acfed0e5fc..d0fbd487f12 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -6952,7 +6952,7 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
at <filename>~/.pg_service.conf</filename> or the location
specified by the environment variable <envar>PGSERVICEFILE</envar>,
or it can be a system-wide file
- at <filename>/etc/pg_service.conf</filename> or in the directory
+ at <filename>`pg_config --sysconfdir`/pg_service.conf</filename> or in the directory
specified by the environment variable
<envar>PGSYSCONFDIR</envar>. If service definitions with the same
name exist in the user and the system file, the user file takes