aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-10-01 10:20:14 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-10-01 10:20:14 +0200
commit1b4d52c3556b9abad10165ce7298062cf7eb7005 (patch)
treed44a536d448ac0387f04445f6e35328ae85f54a4 /doc/src
parentcf4401fe6cf56811343edcad29c96086c2c66481 (diff)
downloadpostgresql-1b4d52c3556b9abad10165ce7298062cf7eb7005.tar.gz
postgresql-1b4d52c3556b9abad10165ce7298062cf7eb7005.zip
doc: Mention the connstring key word for PGSERVICE
The documentation for the connection service file was mentioning the environment variable early but not the connection string key word until the last sentence and only then in an example. This adds the keyword in the first paragraph to make it clearer Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/87r09ibpke.fsf@wibble.ilmari.org
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/libpq.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 4a727d44997..e56c12acfa2 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -9318,7 +9318,8 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
<para>
The connection service file allows libpq connection parameters to be
associated with a single service name. That service name can then be
- specified in a libpq connection string, and the associated settings will be
+ specified using the <literal>service</literal> key word
+ in a libpq connection string, and the associated settings will be
used. This allows connection parameters to be modified without requiring
a recompile of the libpq-using application. The service name can also be
specified using the <envar>PGSERVICE</envar> environment variable.