Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0ca8cc5

Browse files
committed
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.
1 parent e29bbb9 commit 0ca8cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6952,7 +6952,7 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
69526952
at <filename>~/.pg_service.conf</filename> or the location
69536953
specified by the environment variable <envar>PGSERVICEFILE</envar>,
69546954
or it can be a system-wide file
6955-
at <filename>/etc/pg_service.conf</filename> or in the directory
6955+
at <filename>`pg_config --sysconfdir`/pg_service.conf</filename> or in the directory
69566956
specified by the environment variable
69576957
<envar>PGSYSCONFDIR</envar>. If service definitions with the same
69586958
name exist in the user and the system file, the user file takes

0 commit comments

Comments
 (0)