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 1tLlDn-00GpDs-QW for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Dec 2024 15:35:23 +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 1tLlDl-00D5li-2K for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Dec 2024 15:35:22 +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 1tLlDk-00D5la-OP for pgsql-hackers@lists.postgresql.org; Thu, 12 Dec 2024 15:35:21 +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.94.2) (envelope-from ) id 1tLlDj-002T7M-EY for pgsql-hackers@lists.postgresql.org; Thu, 12 Dec 2024 15:35:20 +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 4BCFZFnl651129; Thu, 12 Dec 2024 10:35:15 -0500 From: Tom Lane To: Andrew Dunstan cc: =?UTF-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= , Peter Smith , Michael Paquier , PostgreSQL Hackers Subject: Re: pg_createsubscriber TAP test wrapping makes command options hard to read. In-reply-to: <0f5256ec-d63e-4e0f-9b71-750a7a4e5c01@dunslane.net> References: <556792.1733967676@sss.pgh.pa.us> <564915.1733971586@sss.pgh.pa.us> <87pllx5cqn.fsf@wibble.ilmari.org> <87msh159c3.fsf@wibble.ilmari.org> <0f5256ec-d63e-4e0f-9b71-750a7a4e5c01@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Thu, 12 Dec 2024 10:28:38 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <651127.1734017715.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Thu, 12 Dec 2024 10:35:15 -0500 Message-ID: <651128.1734017715@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > On 2024-12-12 Th 8:17 AM, Dagfinn Ilmari Mannsåker wrote: >> Here's a more thorough patch, that also applies the fat comma treatment >> to other pg_createsubscriber invocations in the same file that don't >> currently happen to be mangled by perltidy. It also adds trailing >> commas to the last item in multi-line command arrays, which is common >> perl style. > +1 for this approach. Indeed, this is much nicer if it's something perltidy knows about. However, I know we have the same issue in many other places. Anyone feel like running through all the TAP scripts? regards, tom lane