pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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-00000002B3o-30lK@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9d882c10bfb6f56a0a430872ef3040875535b06b

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(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1xIZTN-00000002B3o-30lK@gemulon.postgresql.org>
Permalink:  ../E1xIZTN-00000002B3o-30lK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xIZTN-00000002B3o-30lK@gemulon.postgresql.org

 · 

reply

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-00000002B3o-30lK@gemulon.postgresql.org>
  References: <E1xIZTN-00000002B3o-30lK@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