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 1sGoM9-00HS9R-Pi for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Jun 2024 23:23:18 +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 1sGoM7-00HUHh-T2 for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Jun 2024 23:23:16 +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 1sGoM7-00HUGn-J9 for pgsql-hackers@lists.postgresql.org; Mon, 10 Jun 2024 23:23:16 +0000 Received: from wfout5-smtp.messagingengine.com ([64.147.123.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGoM1-0010fp-QX for pgsql-hackers@lists.postgresql.org; Mon, 10 Jun 2024 23:23:15 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id EA5191C0007B; Mon, 10 Jun 2024 19:23:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 10 Jun 2024 19:23:07 -0400 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=fm1; t=1718061786; x=1718148186; bh=gYLQt/B8ol sLWoqVu5dZlJNgUd3vBs6ZkQ+XFPiA9P0=; b=m9vQ3yIjKzxftwLvn2K6qRgguu 7PWckx5Jtr7K1oD0YvVe7KZIyAkGLhoBl2tfQTiYQdxOqIw812tdfUqd9udzD0ex s4mYgsBEv5v/8XpVLS4O0J2ONd0NjJFLQwG0GIr0OXHLhHN2IgCJh6zo/hWerlUI 98M+HzVryrV1PMFnPVM0tRSsjhgSY1m5PQiGd80s1oGqNJzp4CE75rFK8PgzZiTY My7fChAbfQEsrpTxD2VfUwzadVedUJB3LHymx4dMd4xkmxNigmG8PTbJNW7OvpIC RPSiq8a111tbYNybESD538yF24isv2pL6rgbtJ7V0wEykgJmNHJ7HlyBA40Q== 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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718061786; x=1718148186; bh=gYLQt/B8olsLWoqVu5dZlJNgUd3v Bs6ZkQ+XFPiA9P0=; b=E0E+OMkDDZBjtOVM9ZAHO1srgPQtWAAuqelsXhyR26Cz uI4QdQTz51a0D7ulhAvcGyKCDHvcc1KA8xqKU96/D0U3TD9Bwtki5A5b5y0UdHVB jY/GFXEh5yowI9WPzf0xnGMpWVsVKOumCwG5Dgf+xJfK8blhStDmyvw3gsfhPAyV C4SiuGeIP/k7MYxZnYISfVlwaOGZ1o08m8XEQ+leyWgi/pDkpMeVLO34F/ZF6UBN ofQi4q1Mv/l0iMwvbuqGmt41CWpNw6Pax/omdPFoviIm/chpmZqVIctiG5xeXVMs yIC4vqq6tqyfJRDSPBcVmf9rdTE+1Gn5WiVkCgmi9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduuddgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Jun 2024 19:23:04 -0400 (EDT) Date: Tue, 11 Jun 2024 08:22:46 +0900 From: Michael Paquier To: Tom Lane Cc: Nathan Bossart , jian he , PostgreSQL Hackers Subject: Re: CheckMyDatabase some error messages in two lines. Message-ID: References: <620742.1717985573@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="42472DpttqMhOiq/" Content-Disposition: inline In-Reply-To: <620742.1717985573@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --42472DpttqMhOiq/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jun 09, 2024 at 10:12:53PM -0400, Tom Lane wrote: > No doubt. People have done it both ways in the past, but I think > currently there's a weak consensus in favor of using one line for > such messages even when it runs past 80 columns, mainly because > that makes it easier to grep the source code for a message text. I recall the same consensus here. Greppability matters across the board. > But: I don't see too much value in changing this particular instance, > because the line break is in a place where it would not likely cause > you to miss finding the line. You might grep for the first part of > the string or the second part, but probably not for ", which is not". > If the line break were in the middle of a phrase, there'd be more > argument for collapsing it out. Not sure these ones are worth it, either, so I'd let them be. -- Michael --42472DpttqMhOiq/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmZnisYACgkQnvQgOdby QH0CeA/+OC7atl0XQMjR4VQQqDbreN+RpgGA+vkvtQ6/Sn1rrAkdfhtbkXf0cxsV zhoEY/iYFrAWWD/hf/KgNULBS+awjctnmF8a2zvyP+lMaSm+pCCjjdGqbHwr3PMB 64pTqE87sgzQKvNRg7h5e1wu9ScMRxjvdk/8JUmgzX48pl/05JhLKLoP33Uq57oq KrvKTuwUAqui0Elpmu2O8Old46rhBDTtbawvAHEmWcWZSpjdKy7DI59LgsT65YZ+ W+s/ZslnXsBKRJ9sK84y7moc+9U+Nyj01K6dHNvShqPdh878AAgThrIHy2INGiSS LTSDas2dqee8DzyqUSWzjt6RxFLaftlg3HarwciskyzUK04wo12JEE27lumvElhq 2mLdn3Ljcs8Z5REenA4mL8VsW4J3y2KJ7F1z6YtUhm3U+ZBv8vvikWoJVPGfrpC+ VzyYD4GeWlz4GUuHrUltpqQ6eHEL4O8XdUuyjEeQpSFQWZjeMywv02vi2QCU0rG5 ieyIIAZQGlOv+keDEFsPHMpSTs7H2a1kn3/1Eb1EbcrCXFY2qpIosbCH3eV7wp6I cImzE3RzQ2727P2crZACgaZO2IgkAfH8SaE+SjvTXlwSY6xJ0uUdLMHXJpT+8/V8 kpgTAFunfp9X4x6f9AdaEc/gKeSCaN8UEjuzj+WX0kdzuxgbHLs= =JhJ4 -----END PGP SIGNATURE----- --42472DpttqMhOiq/--