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 1taTdw-0028em-5t for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jan 2025 05:51:13 +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 1taTdv-00CASQ-2s for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jan 2025 05:51:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1taTdt-00CASI-Pk for pgsql-hackers@lists.postgresql.org; Wed, 22 Jan 2025 05:51:10 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1taTdn-000qng-1O for pgsql-hackers@lists.postgresql.org; Wed, 22 Jan 2025 05:51:09 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 6808F254025C; Wed, 22 Jan 2025 00:51:01 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Wed, 22 Jan 2025 00:51:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1737525061; x=1737611461; bh=mnj+XBb9XV tbj85dlF3//eZc+0EgRP15W21tMu7jncY=; b=PDzWLmghTRdlC8SNtm3vYuhYcb M3VO+Shutxe8ubL6c/Gx9hMThkN/MYvSPhF4p6lsLS+fqEz+rnOYXODMYEGtuQhv uBnSqVhLZc2Z84FecfAk4VYn4JkU4HfCug3zUXznuuUpq3esWVKDvhpn8RVL0WX6 nvgqRcRwomiskHYLGqWzukyTbIm4tkLtpSbulQ4X9jZmcimYGgqmj+7Pbn2IApzn mYMyjLMQDAIbqYyxOWgNlm19IYkxbb9DAKPHta23DNulcLh5mokJPT/kezIohQ/p UkvuNZaoBq7F863yYL8x7tBfvm3e2l0OnJBR47KVsZ8kT4g6IFvjDyUnIc7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1737525061; x=1737611461; bh=mnj+XBb9XVtbj85dlF3//eZc+0EgRP15W21 tMu7jncY=; b=DdTgVoVaEsPagEjJxjND74OfoIMOSLU0Fv4hJN0jQxMr5Sp8SKU GcWpoT4JMTsBEYQTBHHkKb5CCvSL+2VWELth5I0vV4iFQOI9VIUcFuJbVEdkG6K8 phAm4PWltfDfWrTF97nwWltqp8B7y3f/XVwLHqzXLvHQSsUbktlDe2SVAzF87OoF X98S1mYLC6CbHzGjJGZYiS2eTrmaJqJ793GYSciQ8SkJFovB6tLkN52CMTkMHMuP gkrH0673ONMXGOTIonfPwU63wPtuXFXjmD5qi4nr5gin9DV5jmascKp1lTw/DqWs z7EMu8em36V8ygcz90Im7j8hXeKPfXuKrCQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudejfedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhf gggtuggjsehgtderredttddunecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruc eomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepgfeh hefgudefudfgfeelgeeiffegfefhkeefffdvheefuddtheetgeelteevkeetnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhes phgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohephedpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepihhlmhgrrhhisehilhhmrghrihdrohhrghdprhgtphhtthhopehs mhhithhhphgsvddvhedtsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghnughrvgifse guuhhnshhlrghnvgdrnhgvthdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhprgdr uhhspdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtgh hrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Jan 2025 00:50:58 -0500 (EST) Date: Wed, 22 Jan 2025 14:50:47 +0900 From: Michael Paquier To: Dagfinn Ilmari =?iso-8859-1?Q?Manns=E5ker?= Cc: Peter Smith , Andrew Dunstan , Tom Lane , PostgreSQL Hackers Subject: Re: pg_createsubscriber TAP test wrapping makes command options hard to read. Message-ID: References: <0f5256ec-d63e-4e0f-9b71-750a7a4e5c01@dunslane.net> <651128.1734017715@sss.pgh.pa.us> <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GJd04sdspUA9t6u7" Content-Disposition: inline In-Reply-To: <87frlc45gg.fsf@wibble.ilmari.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --GJd04sdspUA9t6u7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 21, 2025 at 02:17:03PM +0000, Dagfinn Ilmari Manns=E5ker wrote: > Thanks again for reviewing this monster patch. +$node->command_checks_all( + [ 'pg_amcheck', '--exclude-user' =3D> 'no_such_user', 'postgres' ], Extra error spotted here with s/--exclude-user/--username/. The double --verbose for test 'run pg_createsubscriber on node S' is intentional, as mentioned by Euler. Fixed this one by making the two --verbose be side-by-side, and added a comment to document the intention. Perhaps pg_resetwal/t/001_basic.pl should also use more long option names? Note that there are a few more under "Locale provider tests" in the initdb tests. I've left that as a follow-up thing, that was already a lot.. Found some more inconsistencies with the ordering of the options, like a few start commands with pg_ctl in the recovery tests. I've maintained some consistency here, even if your patch was OK. -- Michael --GJd04sdspUA9t6u7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmeQhzcACgkQnvQgOdby QH3cMBAAlsKmvj/j/btu0peJfMyHSAcfygvlws1VhAHujan/CMgnDlsCas3jZDAt 0uSKl+AmwV4j+PXYkq4kpmDfj6uA7STb2HeArSfJwY0BoU/Lx0I/j64HIA/xMDNd wa9msIsvNeR3f44k31ZcajeAe3Euygynkex84pHRLSq8nkGBJhWfScONgUVqDlCR KNv+Oh5BbMYerPrtxKXytk7vD4Gi9F7oh0tp0BVRjUEYgvPFN4l6lZJwTByCirEQ L4zwYSnzxQL1GCi+/yiR9czeKoSZJpeGTK6TY09n3RiKMcetAfTKEtm1AYY6POoI b7Sji5NAJfR7/vF+UKy6U7zYewuEuwE6dcChyI8t8wLpIr+RYky778NG0rd50V4D 8wCAmU6EdqdPEm7iosJzLzyJPfrfizuF0dzEwDRETP4hCfsrhrftDYlYGO7NhJg8 QGQrICnN1xNq8mdUgdWgVg6Vo/VgtaZ4BnwvQToyV0td8X2PZ+OQMgSq0nl60Wgb JtAVnLsI58qLVcpGofvkbWxNUePtgOJoaHwz8bilOB28ZY+C35GK7bLXerw74n2o RsUg00fwRnAItRbEXAH1GC/zme0pzxQXzU1ihvRmE63tDJUEkPBcFCT4d8QKgsRV 0GEr5xWxcBRuhypvxXHUkFohmmXJ7aQAeE2WczMBGl/XvwWYEkA= =R1O9 -----END PGP SIGNATURE----- --GJd04sdspUA9t6u7--