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 1ta8sQ-00Gdtb-0H for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Jan 2025 07:40:46 +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 1ta8sO-00Cdwi-E2 for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Jan 2025 07:40:44 +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 1ta8sN-00CdwY-Ah for pgsql-hackers@lists.postgresql.org; Tue, 21 Jan 2025 07:40:44 +0000 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ta8sI-000g2x-1u for pgsql-hackers@lists.postgresql.org; Tue, 21 Jan 2025 07:40:42 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 51C2A114012A; Tue, 21 Jan 2025 02:40:36 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 21 Jan 2025 02:40:36 -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=fm2; t=1737445236; x=1737531636; bh=k9R9h2rXWi mjiBqHBphYl+d1oP4S7nnfB5Ws1+zX/g0=; b=L/D/XrCqYEtK55/VYqfQD8lo8b /irH/WRR7WG6tjWz7wUG1qlhcXZQi0il22Yn4hqLEid7te9i32oeYckFwiFbjhZL pSEnWZc9Ei/AKI6+tNWnSVMq6faudOF4TVz3zwkP/a9gv3hjjyIowxhNj4W3cSjJ X3EWnMKTOSCvlRdOG4gfBHp6uY7XYPP3d9kujhxtvQU2kwBW4tZ8v4ufxYmQRzUc Wa748Pfus9MQuHlrhEYFXAKqGHmAM+/IgppF2nCHj8/iWUW6Gv5gy94/wmI1Qc5D +4gpfjEgRqlOZDz4+NOYn8nIyEzZhH0kWPDBTcPqJPwIdUVzLU7aaoO6mreA== 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= 1737445236; x=1737531636; bh=k9R9h2rXWimjiBqHBphYl+d1oP4S7nnfB5W s1+zX/g0=; b=rCxtv2Ai5QFATTiTkdHTDdYeToXWFeWHJMhxv5PTo3eOgXfelMA vJi1hphGbzhdYnOkOzjV45jVeDUjKVxZYWedPhd+BaPa2eG0nJGH4ANsllb8uNwJ /TUW36dNHs7Mf+WbF+D/Z1ntDBNEpv8WWGRZMhLktUTMK1Qtvo84NibIBe0o85KR e5JXfuFqXzJiwerD+0lRSEGOKVwZfEoiTYax4K8EjMtZQCG/QTbrG5vqKUfkUkSh rUtT+H65vhi5OiWyD2at82bPc7MpsuOYucU7aBY6QHbHpUQgD9u8koW9d30REzHv o58rUvhHGXtXrZBxhhppzhyzf08/iqL9nrA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudejtddguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenfghrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffk fhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrh cuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeet leeifedufffhhfdtteelgeeggeffhfekueevteeigfduudevudetgfegiedvjeenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghl sehprghquhhivghrrdighiiipdhnsggprhgtphhtthhopeehpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehsmhhithhhphgsvddvhedtsehgmhgrihhlrdgtohhmpdhrtghp thhtohepihhlmhgrrhhisehilhhmrghrihdrohhrghdprhgtphhtthhopegrnhgurhgvfi esughunhhslhgrnhgvrdhnvghtpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgr rdhushdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsth hgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Jan 2025 02:40:33 -0500 (EST) Date: Tue, 21 Jan 2025 16:40:18 +0900 From: Michael Paquier To: Peter Smith Cc: Dagfinn Ilmari =?iso-8859-1?Q?Manns=E5ker?= , Andrew Dunstan , Tom Lane , PostgreSQL Hackers Subject: Re: pg_createsubscriber TAP test wrapping makes command options hard to read. Message-ID: References: <87pllx5cqn.fsf@wibble.ilmari.org> <87msh159c3.fsf@wibble.ilmari.org> <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8EQK0bdRxhKIzAGY" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --8EQK0bdRxhKIzAGY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 21, 2025 at 10:31:01AM +1100, Peter Smith wrote: > I applied the v5* patches and ran make check-world. All passed OK. >=20 > Your fat comma changes have greatly improved readability, particularly > in 040_createsubscriber (the file that caused me to start this > thread). Thanks! It is not an improvement in only 040_createsubscriber, all the places Dagfinn is touching here feel much better with this new syntax. You have spent a lot of time on the change from short to long names and on the new convention grammar for the option/value duos, clearly. It took me some time to read through the patch to catch inconsistencies. - [ 'pg_verifybackup', '-s', $backup_path ], + [ 'pg_verifybackup', '--skip-checksum', $backup_path ], qr/backup successfully verified/, '-s skips checksumming'); This one in pg_verifybackup should perhaps switch to the long option for the test description, like the rest. The option should be named --skip-checksums, causing a test failure in the CI. -my @pg_basebackup_cmd =3D (@pg_basebackup_defs, '-U', 'backupuser', '-Xfet= ch'); +my @pg_basebackup_cmd =3D ( + @pg_basebackup_defs, + '--user' =3D> 'backupuser', There was a second series of failures in the test basebackup_to_shell/t/001_basic.pl because of this part. The option name should be "--username" for pg_basebackup. With these two fixes, the CI is happy, which should hopefully be enough for the buildfarm. But we'll see.. I'd like to apply what you have done here (planning to do a second lookup, FWIW). If anybody has objections, feel free to post that here. -- Michael --8EQK0bdRxhKIzAGY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmePT2IACgkQnvQgOdby QH1MTA//dFe7WYfFJRKc/IS5KNG5zxWtC/6+4mq6aZ+FXVaWYRWpvA/rBCloYWAm Tn4kly7H8f/MI3kIODdosMOT9XVInKg92AaXqCqoJxRhcuFwSIjD86bLwYJl+SUN xJPblUl/90UWNOy7WmX8tTpKUQTpmFI7q7nzxjiwNvEbmJELPUyGzDsy0ZO40vnD PkDTdkpzqXretZNSkK8usoaFMhOjFTEsxQDmYnof1RmpZcrzuUk+5j+dZ/yttRiA 2hPCBe2+oai8xXHEuPs5n1f/rSooiVDXOuChRJaHq9rPKQQQlz5Albq3iyg0gk7G 5DDXDKNbmv/IgpsWVREWv0VkVEYfYK7PP8CthYJi88K1lvDzRmOa9N9DDQ+QGPoz lrCFneQsrLofiXebSTa3u+wvm6+FO3CvzK0JsFQyiK0L6x/tAsZ2r7nddDU9sMik 5khs+ooJ/aTOHuWgMly/SfJdOKY6gPx+J3hgygst8ZCziRIM+RGKn/Bs5BagMbwX EGR0T1wfEkOBq5+SZs6PNJ0xwTPV/3sdm2iwdUs67PrpiWgb3Lfymo2D1whDB94V 1pis2qT/mz2YKhPwnkDjiwlaix+oZat6Om55rdWw50okCJwVWVArOk249t40LAVD tRf6fEyvbnPhGkceK08CQs7R2gd+phWJX9M8zeQ6iaUzjrhA/Fo= =cMw6 -----END PGP SIGNATURE----- --8EQK0bdRxhKIzAGY--