Skip to content

Commit 2b0d335

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 a2bd023 commit 2b0d335

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
@@ -6553,7 +6553,7 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
65536553
at <filename>~/.pg_service.conf</filename> or the location
65546554
specified by the environment variable <envar>PGSERVICEFILE</envar>,
65556555
or it can be a system-wide file
6556-
at <filename>/etc/pg_service.conf</filename> or in the directory
6556+
at <filename>`pg_config --sysconfdir`/pg_service.conf</filename> or in the directory
65576557
specified by the environment variable
65586558
<envar>PGSYSCONFDIR</envar>. If service definitions with the same
65596559
name exist in the user and the system file, the user file takes

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy