agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix new test with comma in build directory.
Date: Sun, 26 Apr 2026 22:04:11 +0000
Message-ID: <E1wH7aF-002xsr-18@gemulon.postgresql.org> (raw)

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@yesql.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(-)



Message-ID: <E1wH7aF-002xsr-18@gemulon.postgresql.org>
Permalink:  ../E1wH7aF-002xsr-18@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wH7aF-002xsr-18@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix new test with comma in build directory.
  In-Reply-To: <E1wH7aF-002xsr-18@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox