postgres.git / summary / log / commit / refs
commit 6b9b705c98c53576d4e1208e6d291fb09c42ea0e
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Mon Feb 02 03:36:44 2015 +0000
First released in: 9.5.0, 9.0.19, 9.1.15, 9.2.10, 9.3.6, 9.4.1
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.
doc/src/sgml/libpq.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 4593051a9c3..8a2af4aab4d 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -6958,7 +6958,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
[parent: 9f8ba18278b4]