aboutsummaryrefslogtreecommitdiff
path: root/src/include/nodes
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-07-13 16:52:19 +0900
committerMichael Paquier <michael@paquier.xyz>2025-07-13 16:52:19 +0900
commit092f3c63efc6a6ce235cfbed45bd05b739de8540 (patch)
treece37711db0465c3d5980bcb1184200dda1a59194 /src/include/nodes
parent8893c3ab3661eb397e68a0ace17c680d1e488360 (diff)
downloadpostgresql-master.tar.gz
postgresql-master.zip
libpq: Add "servicefile" connection optionHEADmaster
This commit adds the possibility to specify a service file in a connection string, using a new option called "servicefile". The parsing of the service file happens so as things are done in this order of priority: - The servicefile connection option. - Environment variable PGSERVICEFILE. - Default path, depending on the HOME environment. Note that in the last default case, we need to fill in "servicefile" for the connection's PQconninfoOption to let clients know which service file has been used for the connection. Some TAP tests are added, with a few tweaks required for Windows when using URIs or connection option values, for the location paths. Author: Torsten Förtsch <tfoertsch123@gmail.com> Co-authored-by: Ryo Kanbayashi <kanbayashi.dev@gmail.com> Discussion: https://postgr.es/m/CAKkG4_nCjx3a_F3gyXHSPWxD8Sd8URaM89wey7fG_9g7KBkOCQ@mail.gmail.com
Diffstat (limited to 'src/include/nodes')
0 files changed, 0 insertions, 0 deletions