summaryrefslogtreecommitdiff
path: root/src/include/postmaster/walwriter.h
diff options
context:
space:
mode:
authorMichael Paquier2025-07-09 03:46:13 +0000
committerMichael Paquier2025-07-09 03:46:13 +0000
commitfef6da9e9c8790fa915942af2ada190c33fcf98c (patch)
tree455bbc3844dc54548ecb29af282930b66acb31e3 /src/include/postmaster/walwriter.h
parent93001888d85c21a5b9ab1fe8dabfecb673fc007c (diff)
libpq: Remove PQservice()HEADmaster
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