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.96) (envelope-from ) id 1vphx8-00E0vx-1y for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Feb 2026 07:14:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vphx7-00ECQz-02 for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Feb 2026 07:14:28 +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.96) (envelope-from ) id 1vphx6-00ECQr-0s for pgsql-hackers@lists.postgresql.org; Tue, 10 Feb 2026 07:14:28 +0000 Received: from fhigh-b8-smtp.messagingengine.com ([202.12.124.159]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vphx4-00000001OYo-0Mtg for pgsql-hackers@lists.postgresql.org; Tue, 10 Feb 2026 07:14:27 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id 9CF1E7A0154; Tue, 10 Feb 2026 02:14:24 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Tue, 10 Feb 2026 02:14:24 -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=fm3; t=1770707664; x=1770794064; bh=F06v0ztr33 FyCh6lQdfzFZGPox87oUQKr2HRpoBNUD4=; b=mvAKz5mcg6has3IdUNqGhd84Ik rUJVmC5Nv/nnn0q9629GPnwlg18U4vACPvaALtZ3kvmx4aWpBkeQJy3bC5XlEMB1 XdA/1m0gk4pBw59x5L/NrXZQG7DALKMEzmeEnS9zO9jN7gl7d/Kb4OmFbZQwaY6b t7vicaWuzR4nhCLUPYv/z8nALdJxrxzLURiUBYh9bhTwrDQeNXzUXMqqDpmWRra+ 3xLxPHI4jRa9TsBYmdaFiWnc27vqNvRa6MuSWQdaPEIFTaDrgsy0VRj5hZNzomFK 7qQXdFWcGwTq+9YkFabLlB0DAIDjGthkFEOfik5Pfd3p8L69SGmObSCVnMhQ== 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= 1770707664; x=1770794064; bh=F06v0ztr33FyCh6lQdfzFZGPox87oUQKr2H RpoBNUD4=; b=EML5Xh9cdVNJExdauKxct7C38NL3qPSj3wP0aRW42quTQL1muEB wwP5c2wBrzcJz6uwQroVJN1LNxaVZgPMAcNCtgfEMa+fT3SgECsYFNMYoMX+l1WP HOjaAFgkkPuSlC70voOm1zc9Mg3G41SV+q8YjNFWSZwDw4Zqa3IILRZNaQGRq+w5 RRaPh19jUCIZcRKEvebLKb78J/yT0jqFZnZFW49yjiCpr7tfRlttkooaQ/K8cfBr vCj0ryo+8UXbAwlK9Dpvf1SV1yLcEO+hujN7nYdJ53GMD+f+i4aLlhHec2uDx8ML YpwBx5fmLZYvgSzG8sqe8vkoPy1SSBqKQ8w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduleeltdehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvve fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnh epteelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrg gvlhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepvddpmhhouggvpehsmhht phhouhhtpdhrtghpthhtohephhhorhhikhihohhtrgdrnhhtthesghhmrghilhdrtghomh dprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgv shhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 10 Feb 2026 02:14:22 -0500 (EST) Date: Tue, 10 Feb 2026 16:14:17 +0900 From: Michael Paquier To: Kyotaro Horiguchi Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Miscellaneous message fixes Message-ID: References: <20260210.143752.1113524465620875233.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="twHpAPkO+59H0c6m" Content-Disposition: inline In-Reply-To: <20260210.143752.1113524465620875233.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --twHpAPkO+59H0c6m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 10, 2026 at 02:37:52PM +0900, Kyotaro Horiguchi wrote: > 0006:=20 > In extended_stats_funcs.c: >> errmsg("could not find extended statistics object \"%s\".\"%s\"", >> quote_identifier(nspname), >> quote_identifier(stxname))); >=20 > Since quote_identifier() already adds quoting when needed, adding > "%s"."%s" in the format string results in double quoting. It would be > better to use %s.%s instead. I think quoting should be applied only > when necessary here. I'm not sure we should use > quote_qualified_identifier() instead.. (It's not used in the attached > patch). >=20 > There's a similar inconsistency. >=20 >> errmsg("could not clear extended statistics object \"%s\".\"%s\": incorr= ect relation \"%s\".\"%s\" specified", >> get_namespace_name(nspoid), stxname, >> relnspname, relname)); >=20 > In this part, the names are not passed through quote_identifier(). It > would be better to unify this as well. 0006 relates to some of my recent business, so I'll go look and address this part. Thanks for the report.=20 -- Michael --twHpAPkO+59H0c6m Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmK2skACgkQnvQgOdby QH0sFQ//e+LaTEP/RfP9oaWFnUdy2eAzAGhEMP/lk4gDQl93nnZ/BA3skEWEQktI ELnupfOcUjnAZIyqkv8bxHUBLXyvlwfQE1VS884s0rnhH7U5nU8jWhwSzDgfA3p7 rS8GHFYHclIxPM5N+JWDTj4mk/q7MH1IO94YtIOc2VPUQboQX61p4QeF8Hc32pTN wuPhC8vwcoQvxpepwIp37PLdW4s01IzZqjvx+JNbVtQAe8m6/3sAAgoIUnKA0uRt 3e1qkyDEnkkozV91sGlvEVUNRmvkB7HLecGkgeiYF0yVLgpN9vFLK+VMu1xnCmUG A/lTK9EcDtv5cx47jPx7MYTM8uzyM032R1bp+nGKMdrZwMbsNExdysYgbl5mJBSA NHRzwThtESk+ha1oR3RHx7mBODB2eaUq5+BdKuXeRBeWkYfH369aLOq/sH/hw+0q nUeS2LHiD7Ign39IK/DdDvUPZqDX4M9TxujfkqSUX72Ig9SCEnW6+mooP23S4MXB X9L0BpRliL7ca2gE2JjIt07fiMcymRp6sR26+Z2UJ8QKMlkSgntMppdSXlT93odj EWPUSE7z3xB03N8ycudbdfK/aw9e8PJ2l77OHKcdu5xwAmfkHiToi/HadgIfRsIW ruu0RJR2Phbg30TmuhLjlTbd0iPyEwxB5Xktlyc/pRrjYFKdASU= =u7Mn -----END PGP SIGNATURE----- --twHpAPkO+59H0c6m--