From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: libpq: Revert the connection option "servicefile"
Date: Sun, 18 Oct 2026 22:35:21 +0000
Message-ID: <E1xIZTN-00000002B3q-3Ahu@gemulon.postgresql.org> (raw)
libpq: Revert the connection option "servicefile"
The following commits are reverted:
* 092f3c63efc6, libpq: Add "servicefile" connection option
* 6b1c4d326b06, psql: Add variable SERVICEFILE
* 90354030b8fc, libpq: Fix "servicefile" after fallback to system
service file
After more review, PGSERVICEFILE is sufficient for the purpose of
specifying a per-session service file. Some details around this feature
will need more attention before being actually usable, if we ever get
down to it.
One independent piece that has been committed during the v19 development
cycle is df286a5b830a, which is kept in the tree as that was an
unrelated change.
Reported-by: Sehrope Sarkuni <sehrope@jackdb.com>
Discussion: https://postgr.es/m/CAH7T-aq+U6GDPO8mr3Gga3KzxGpAE=BSLb38x+R8fvWjzF-H8w@mail.gmail.com
Backpatch-through: 19
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/cbe71bac54ea2cdd0d352a91bda85746bf32ef72
Modified Files
--------------
doc/src/sgml/libpq.sgml | 24 +++-------
doc/src/sgml/ref/psql-ref.sgml | 9 ----
src/bin/psql/command.c | 7 ---
src/interfaces/libpq/fe-connect.c | 66 ++-------------------------
src/interfaces/libpq/libpq-int.h | 2 -
src/interfaces/libpq/t/006_service.pl | 86 +----------------------------------
6 files changed, 13 insertions(+), 181 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: libpq: Revert the connection option "servicefile"
In-Reply-To: <E1xIZTN-00000002B3q-3Ahu@gemulon.postgresql.org>
References: <E1xIZTN-00000002B3q-3Ahu@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox