Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZlSk-0000S6-Kb for pgsql-committers@arkaria.postgresql.org; Wed, 19 Dec 2018 23:41:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gZlSj-0003y9-7K for pgsql-committers@arkaria.postgresql.org; Wed, 19 Dec 2018 23:41:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZlSh-0003re-Rh for pgsql-committers@lists.postgresql.org; Wed, 19 Dec 2018 23:41:13 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZlSf-0001AC-8Y for pgsql-committers@lists.postgresql.org; Wed, 19 Dec 2018 23:41:10 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6809221FF3; Wed, 19 Dec 2018 18:41:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 19 Dec 2018 18:41:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=3bhPlVYOIrY1aLpbS6yL9rSf4vv T38AdCJvM47OS3QE=; b=EN2dNrNxZvYFKfm2eD9lfwabkN3T9Q/hPz6y/OtBpMh HuKPH3dXBMFZuZMujo9dFO+cL1T7gddN7TujozglER6YvhbGEWVysnKp5drXbJ9N iEEXkFwx1DyAXcGrR/xUFHhHfFxy5QfZOimCTs4jzd50ViNu7d/k3gRuenO8uD7T Mhn/Zc8UcW/T7Ev8xrTOXjA1LWBnpiUtJf+r4029kbJFOgSpwOtBkDYv+MMQO7V2 nOfdd/Wudmd/ac4yadVNh+lukLBENyFF+RvYJQET5BB1To5D8MY4tJgSkvKQLJ4H HMLugP+y6Kw42la6bYh2AkV69e9XnX+nLDsQWUicKww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=3bhPlV YOIrY1aLpbS6yL9rSf4vvT38AdCJvM47OS3QE=; b=i5YVhjGeI10fnQ8vDtUI3Y B7DoPWVGMZbtSzLxZ4jv7nXDgCq5dgNkPt692uJrCsyBWWtkf1tqjA+g+g8c6gjS q3YYjEWF1RELo4VZR/TVupKvQRANnFteRuWoQjEWUfGJbdf3pUlIi1fo6/+43W14 /Q+dmm6bTXQQvnAllYeC0keRZ7Soo9y1KEJ4f9XfqUC4qRBJ4YYt9xRyWfDUBt7C DbfA3EiENGX3rq7gtgMEEUsNS3/sb0YVdEW0dkC0nNg8Vv/GCCxtrnEbUOiWOtxd 0xyvNSQuqr5Q12A7QKIbcgXxhLlUwkmTjg6FQs3rR81dJQHjnnxgVlNeHSAFn4LA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejvddgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdejtd dmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgt hhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqne cukfhppeeiuddrvdduhedrudefjedrudeivdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id C261DE4559; Wed, 19 Dec 2018 18:41:06 -0500 (EST) Date: Thu, 20 Dec 2018 08:41:03 +0900 From: Michael Paquier To: Alvaro Herrera Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Remove function names from error messages Message-ID: <20181219234103.GC27104@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zCKi3GIZzVBPywwA" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --zCKi3GIZzVBPywwA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 19, 2018 at 05:53:48PM +0000, Alvaro Herrera wrote: > Remove function names from error messages >=20 > They are not necessary, and having them there gives useless work for > translators. I am spotting a couple of extra ones for functions: src/backend/access/transam/xlog.c: (errmsg("pg_stop_backup cleanup done, waiting for required WAL segments to be archived"))); src/backend/access/transam/xlog.c: (errmsg("pg_stop_backup still waiting for all required WAL segments to be archived (%d seconds elapsed)", Perhaps these could be improved as well? -- Michael --zCKi3GIZzVBPywwA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlwa1w8ACgkQnvQgOdby QH1LZQ/+NvgUL6Od7tS/Zw9a8MBbCfhJYR3t/kiO5mcKrKz5mQi9Xpx3I3h+0F/i KIrWY9UWotY/mB3YoXe9mn38nBQi9pyg2zcyG+8XIxmVYeFM66ga4YtMGdlOUwCU 3qMV/AGD/FYg4zecO9yLaqBAmJi1/WaX7ZziwnvWig7m9VSDtiIc/LxPuBIgW+h4 rSGqFylKSp3+Iw8G28ae6+09pTNUvrODzYDKqTH1fjy6YbKmrtqMa54oUR46vcEd SLg+I/l/bniwYdsIwWcMB3gjQ+EqB91nH+gFcPlE9jQ+/RtZ0RGOsLNptc4v6OtC 6MRl3dp7ajSD6hZkI3nYJg+j20ef605b3Tsi5e8TYt1wsLjDH4H7ClaOR83cwimG AjU45nLLzP4qTTpRKJVGccPQdx5gebDCxa+LBC82JSEIzvBr6YXmjkFN1/xWm6Ah 5JpScy86kNT7LTlQKSGHBmGFL/QKWdqCc4EXCN6wa+lMOR2CGg99pbiY5+OzTzWV IE3HVa436PcFZCweVSeUHiDW8DJPD1rMovISDbblP+5nTru+pUPEmDApY8/EV/2g P/RktEz+Cp2FVjuQgHUituMUDkqZ0sc+/Wg6+ISsM3wJUInnNe5NptlyrJb+DaNK Yma7uSJEGxyNL4psY+KQCvZmLbDlYU2tCYNzm1yEjF2cX5PIPnk= =nGGV -----END PGP SIGNATURE----- --zCKi3GIZzVBPywwA--