pgsql: Fix new test with comma in build directory.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix new test with comma in build directory.
Date: 2026-04-26 22:04:11
Message-ID: E1wH7aF-002xsr-18@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix new test with comma in build directory.

Quote pg_hosts.conf fields derived from the build directory, since
hba.c:next_token() treats a comma as a token separator. Commit
4f433025f666fa4a6209f0e847715767fb1c7ace introduced pg_hosts.conf and
this test. A build directory name containing a comma worked before that
commit. A build directory name containing a quote character has not
worked, so don't handle that.

Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://postgr.es/m/20260426213252.7a@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f9c638054c5b29d519bc8530f95da8a74b47af51

Modified Files
--------------
src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-04-27 01:33:17 pgsql: Fix some memory leaks in the WAL receiver
Previous Message Peter Eisentraut 2026-04-25 18:28:08 pgsql: Don't use INT64_FORMAT in translatable string