aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeBitmapAnd.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-03-27 16:01:38 +0900
committerMichael Paquier <michael@paquier.xyz>2025-03-27 16:01:38 +0900
commit72c2f36d572763201430a35414138c1b9ec3a106 (patch)
tree3b41eabab336c2612f60bb79e831fc591c95d773 /src/backend/executor/nodeBitmapAnd.c
parentad9a23bc4f51eea829ee99c7d9940b7ac9f523e3 (diff)
downloadpostgresql-72c2f36d572763201430a35414138c1b9ec3a106.tar.gz
postgresql-72c2f36d572763201430a35414138c1b9ec3a106.zip
libpq: Add TAP tests for service files and names
This commit adds a set of regression tests that checks various patterns with service names and service files, with: - Service file with no contents, used as default for PGSERVICEFILE to prevent any lookups at the HOME directory of an environment where the test is run. - Service file with valid service name and its section. - Service file at the root of PGSYSCONFDIR, named pg_service.conf. - Missing service file. - Service name defined as a connection parameter or as PGSERVICE. Note that PGSYSCONFDIR is set to always point at a temporary directory created by the test, so as we never try to look at SYSCONFDIR. This set of tests has come up as a useful independent addition while discussing a patch that adds an equivalent of PGSERVICEFILE as a connection parameter as there have never been any tests for service files and service names. Torsten Foertsch and Ryo Kanbayashi have provided a basic implementation, that I have expanded to what is introduced in this commit. Author: Torsten Foertsch <tfoertsch123@gmail.com> Author: Ryo Kanbayashi <kanbayashi.dev@gmail.com> Author: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAKkG4_nCjx3a_F3gyXHSPWxD8Sd8URaM89wey7fG_9g7KBkOCQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeBitmapAnd.c')
0 files changed, 0 insertions, 0 deletions