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.94.2) (envelope-from ) id 1tbM9l-00A4UY-PB for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Jan 2025 16:03:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tbM9k-00Fheg-S6 for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Jan 2025 16:03:40 +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.94.2) (envelope-from ) id 1tbM9k-00FheP-Ip for pgsql-hackers@lists.postgresql.org; Fri, 24 Jan 2025 16:03:40 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tbM9i-001I5y-1Q for pgsql-hackers@lists.postgresql.org; Fri, 24 Jan 2025 16:03:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 50OG3VkV379086; Fri, 24 Jan 2025 11:03:31 -0500 From: Tom Lane To: Michael Paquier cc: Dagfinn Ilmari =?iso-8859-1?Q?Manns=E5ker?= , Peter Smith , Andrew Dunstan , PostgreSQL Hackers Subject: Re: pg_createsubscriber TAP test wrapping makes command options hard to read. In-reply-to: References: <87jzc46d8u.fsf@wibble.ilmari.org> <5f41d6c6-1cbb-494d-a5c4-3c449fc4e9ad@dunslane.net> <105f432a-6b0b-42d4-9061-65d263279be7@app.fastmail.com> <87ldv542fk.fsf@wibble.ilmari.org> <87frlc45gg.fsf@wibble.ilmari.org> <878qr146ra.fsf@wibble.ilmari.org> Comments: In-reply-to Michael Paquier message dated "Fri, 24 Jan 2025 15:22:48 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <379084.1737734611.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 24 Jan 2025 11:03:31 -0500 Message-ID: <379085.1737734611@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > On Thu, Jan 23, 2025 at 08:25:45PM +0000, Dagfinn Ilmari Manns=C3=A5ker = wrote: >> Here's a patch for that. > Thanks. I had a bit of time today and applied it. BF member drongo doesn't like the new test for amcheck. Looks like it has to do with SSPI authentication producing a different error than expected: stderr: # Failed test 'checking with a non-existent user stderr /(?^:role "no_su= ch_user" does not exist)/' # at C:/prog/bf/root/HEAD/pgsql/src/bin/pg_amcheck/t/002_nonesuch.pl lin= e 86. # 'pg_amcheck: error: connection to server at "127.0.0.1= ", port 19928 failed: FATAL: SSPI authentication failed for user "no_such= _user" # ' # doesn't match '(?^:role "no_such_user" does not exist)' # Looks like you failed 1 test of 107. You might be able to work around this with auth_extra, a la 1e3f461e8 and other past fixes. regards, tom lane