diff options
author | Michael Paquier | 2025-07-09 03:46:13 +0000 |
---|---|---|
committer | Michael Paquier | 2025-07-09 03:46:13 +0000 |
commit | fef6da9e9c8790fa915942af2ada190c33fcf98c (patch) | |
tree | 455bbc3844dc54548ecb29af282930b66acb31e3 /src/include/postmaster/walwriter.h | |
parent | 93001888d85c21a5b9ab1fe8dabfecb673fc007c (diff) |
This routine has been introduced as a shortcut to be able to retrieve a
service name from an active connection, for psql. Per discussion, and
as it is only used by psql, let's remove it to not clutter the libpq API
more than necessary.
The logic in psql is replaced by lookups of PQconninfoOption for the
active connection, instead, updated each time the variables are synced
by psql, the prompt shortcut relying on the variable synced.
Reported-by: Noah Misch <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 18
Diffstat (limited to 'src/include/postmaster/walwriter.h')
0 files changed, 0 insertions, 0 deletions