Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wH7DM-006sPD-0u for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Apr 2026 21:40:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wH7DL-00B5eX-1Z for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Apr 2026 21:40:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wH7DL-00B5eP-0J for pgsql-hackers@lists.postgresql.org; Sun, 26 Apr 2026 21:40:31 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wH7DH-00000002vYl-27mC for pgsql-hackers@postgresql.org; Sun, 26 Apr 2026 21:40:30 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 2947A5C0346 for ; Sun, 26 Apr 2026 23:40:24 +0200 (CEST) Received: from s979.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 14D385C158A; Sun, 26 Apr 2026 23:40:24 +0200 (CEST) Received: from localhost (unknown [172.22.191.6]) by s979.loopia.se (Postfix) with ESMTP id 1313A10BC413; Sun, 26 Apr 2026 23:40:24 +0200 (CEST) X-Virus-Scanned: amavis at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s472.loopia.se (amavis); dkim=pass (2048-bit key) header.d=yesql.se Received: from s934.loopia.se ([172.22.191.6]) by localhost (s472.loopia.se [172.22.190.12]) (amavis, port 10024) with LMTP id jsL6MXbBSy74; Sun, 26 Apr 2026 23:40:23 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.236 Received: from smtpclient.apple (customer-89-255-232-236.stosn.net [89.255.232.236]) (Authenticated sender: daniel@yesql.se) by s934.loopia.se (Postfix) with ESMTPSA id 82844917F07; Sun, 26 Apr 2026 23:40:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1777239623; bh=7kCaCLbr7b4idIZPeEmxSu9FHBYQJX7GY7bPIR4RRFo=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=CWVZS/Adqcn+hhFIArX5fILvUPfR7l1f468trYizIiT63AJV6dE/zAXkGwsZaOORD qcvqGqu3W+MrnS7lUzHYJTmOHJY7r/ZAz1pp99QLyi8bWwRuihxrkkh2fnoD+44Z8d 5cWUYJWbaPo0N9HY0N72dFzpWdSRwuz7d0qFni53vURFQu8cgp9FninCJPc69DrkGo O/W+Zq/ERitxMoASL8yCXJRosH2PglhI5jtwgkaiBSJ0N2dfcFg5AyTVD1XwZnhW70 c2efdK+3AlguON1OfNO8FMMRXUEY76ustzE2lL3IIv5iOcwZI+9izYN0VbozpdUT+9 3V4BVk8/b7z4A== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.2\)) Subject: Re: Separators in pg_hosts.conf fields From: Daniel Gustafsson In-Reply-To: <20260426213252.7a@rfd.leadboat.com> Date: Sun, 26 Apr 2026 23:40:13 +0200 Cc: PostgreSQL Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <9E767D01-08A1-4DF1-8122-B11AD932C8BA@yesql.se> References: <20260426213252.7a@rfd.leadboat.com> To: Noah Misch X-Mailer: Apple Mail (2.3776.700.51.11.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 26 Apr 2026, at 23:32, Noah Misch wrote: >=20 > If the build directory name contains a comma, > src/test/modules/ssl_passphrase_callback fails on master since commit = 4f43302. > It fails because hba.c:next_token() treats a comma as a token = separator: Ugh, thanks for reporting. > * Tokens can be delimited by double quotes (this allows the inclusion = of > * commas, blanks, and '#', but not newlines). As in SQL, write two > * double-quotes to represent a double quote. >=20 > Commit 4f43302 documented the pg_hosts.conf hostname field as a > comma-separated list, but not the other fields. Should other = pg_hosts.conf > fields continue to require quoting around commas, or not? Yes, only the hostname field is a comma-separated list. I think this = should be added to the documentation as well on top of the test fix in your patch. = Do you want me to take care of both parts? -- Daniel Gustafsson