Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mV0RM-0006UO-HN for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Sep 2021 23:53:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mV0RL-0005Cc-6W for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Sep 2021 23:53:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mV0RK-0005CU-Uz for pgsql-hackers@lists.postgresql.org; Mon, 27 Sep 2021 23:53:42 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mV0RI-0000UJ-S7 for pgsql-hackers@postgresql.org; Mon, 27 Sep 2021 23:53:42 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 51DCF5C0135; Mon, 27 Sep 2021 19:53:39 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 27 Sep 2021 19:53:39 -0400 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=fm2; bh=vKAU32ruWKSnI6xiUkVGk0F6XNs Sj9vwZsiNzcd4zXo=; b=tHF1GS6RXSNmqNm9YlxEmLncL5q7ODhDpAWO7kZOdhc bND7CdrBdC7sfoVckdTJGpCszbsVGhWEyLdEcSHIt78peli2Ipefj/c6c/viEgJx MzVRCRSTJKYuGWyr63lRHsUdvAnI6+KnV30GvnsKhNBOKJoeKEQTwNaGulZpUySw H/pWza7iS4bGZ6eO1gqrFBAAAD44E2w6V8mLJhZeSasIwm7/0H/0d/NpyawfY+vH q3XXZ3ihlpGRm3xcJibUAxzim9gAp+e3m0HG11EP3RDNlIqDFt6hbki16IU1n6et LuNRBY8Wr2UuWTVX0jlBrsqINWbiIeWwkcIHr37cXIQ== 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=fm3; bh=vKAU32 ruWKSnI6xiUkVGk0F6XNsSj9vwZsiNzcd4zXo=; b=N+yYoB8brPvWiIWDNkJ2Wm Zd4SEcdJ1G5scVLMo3Juk6AzWvpu+NbF99Nh3b0haaTyf7CqUeiNkvQoShWxkFCM usD/tlI16jzNDU+e3xXTRvL4BMCyE8Y5gncDfQ3+KyWNpxozNxHkID5b6iP1Qn+n RvL9KYZCinRtyyV/2xJcQu03/zOOX6Aiz0fvwV5SPKhFs28mBC/zjpYH8+HNJiGf CnKpIlUfRRU6C7a3getcyiMCKNMXqy2u0M99XpAjGHaLJiCe+VYFTDUQ4VFXoAiN 1Zfx65z3DumzIpt3cMPhIA/KM41mXGfzXF/wgDa3sjro81LbfSbk/5vt8Z84rMaQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudejledgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Sep 2021 19:53:37 -0400 (EDT) Date: Tue, 28 Sep 2021 08:53:35 +0900 From: Michael Paquier To: Alvaro Herrera Cc: Justin Pryzby , pgsql-hackers@postgresql.org, Tomas Vondra , Andres Freund , Zhihong Yu Subject: Re: typos (and more) Message-ID: References: <202109272104.7t253iw236fb@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="24feeG71qQ3LEsGo" Content-Disposition: inline In-Reply-To: <202109272104.7t253iw236fb@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --24feeG71qQ3LEsGo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 27, 2021 at 06:04:02PM -0300, Alvaro Herrera wrote: > Initially we just used "statistic" as a noun, which IIRC was already > grammatically wrong (but I didn't know that and I think Tomas didn't > either); later at some point when discussing how to use that noun in > plural we realized this and argued that merely using "statistics" was > even more wrong. It was then that we started using the term "statistics > object" with plural "statistics objects". Going back to using just > "statistics" is unlikely to have become correct; I think Justin's > patches 0008 and 0012 are correct. Thanks for confirming. if (list_length(pstate->p_rtable) !=3D 1) ereport(ERROR, (errcode(ERRCODE_INVALID_COLUMN_REFERENCE), - errmsg("statistics expressions can refer only to the tabl= e being indexed"))); + errmsg("statistics expressions can refer only to the tabl= e being referenced"))); This part should be backpatched? The code claims that this should be dead code so an elog() would be more adapted, and the same can be said about transformRuleStmt() and transformIndexStmt(), no? That would be less messages to translate.=20 -- Michael --24feeG71qQ3LEsGo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmFSWX8ACgkQnvQgOdby QH3LHBAAqKEfx3MFTHJyiPaEefbECmNgmYfG2UO75KeLsZseitadybm80Rim4W1e Wf+ac2CdJGfN14sI0lE2k9cgZgpYSzlDpH5lCTkcc40KyRhZopC5jHVXWW0IpqcB +QtI0G0tqm2rqZuKVLb7+cdFRRts5KRTYohlTqoKqlLZpmQNdl9YjmY2VzbBdjh1 yKXHYwocaotgCi7SRiyeKizy78s94r5RnIzVqfeZYmxMVjfZ0HXaGFjSgu5ZFf/H X6f7/CXWT/DcLE9NA1P2fgzGkI1v4xByQA2zYq0EobUfDlnOTAXBhc0NdDqbxRsc e5t8nHDmJ4FD7Q5enI41qCoAx4XrKE8dlaV1PGsl1tb1pliXO0VrxcZOoEi6EnkO EwgoihIXEhISdBpTaspow1Q22DmnvQvaCF7MyVyannhL7PkfZHRZww5Hqnlj8BpL IlEhYfJsCp94fAib6a2NmShX/VVivHPr4dqRrTG2Gf5nPr9HmKQ4OJ5V36cWdRkP wyc4jXjt5LBabX2DBffUiJ6PQ57jK8eF7zcp3kFdlX47gY8iMRhlR9bEw2szGhkz YNyjf4VAGC0FghQdrGMvkry31KU5oYXyAUmhwuw9/KZPO/GaiayMDTHf5z+XPtyC QdgiZVK3pH9Pd9aH1zJB8NX120JGNg6xNbl2imlubHl75iL9B6A= =Oq6K -----END PGP SIGNATURE----- --24feeG71qQ3LEsGo--