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 1urfPo-00AL7e-A5 for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Aug 2025 16:23:57 +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 1urfPn-003qSg-8a for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Aug 2025 16:23:55 +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 1urfPm-003qSY-OK for pgsql-hackers@lists.postgresql.org; Thu, 28 Aug 2025 16:23:55 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1urfPk-002LXC-18 for pgsql-hackers@postgresql.org; Thu, 28 Aug 2025 16:23:55 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8ECCF1400070; Thu, 28 Aug 2025 12:23:50 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Thu, 28 Aug 2025 12:23:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm2; t=1756398230; x= 1756484630; bh=zSv9aCf3I6dK48D1+8od5hDjkIz+E3VFCrdunwaSklQ=; b=k 8DiqOKJ/Hg1q3K5Yl78m+p4XaFOKnxJgGm8t7QSiCg6o7kcxU3cO3J9ahmNjtMQK 5BEx7ZM1G0EUyeSzv9uamQhuRTi0EiWc9nOIuoXCT+z/9b6r3ZhGpnVJuXTRmo+Q zGSjmyyLlzHW8MOKYHn3xWzm2/kNA7H6Q9Kw4zNLWpAvLoTFq/dIXYEcS0993OBO ZL/1250/LINDuMmO6SVkF6mb5v4NnlLbMaS1s5Gv20z+ifL3oHtPMJm0TgOKVOsH 9Ie87LmiOh9Xz4rr3OCKYxkTCT6+xGjHAF8Csr0twovSE616+2wvTGCFNeKpnQpn dHumIJIgEqIHd4XoXAfJw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1756398230; x=1756484630; bh=z Sv9aCf3I6dK48D1+8od5hDjkIz+E3VFCrdunwaSklQ=; b=AxCSCQK6GRWu93VlV TwKowrhdsnvVuDD4odTI7PQpAPWNX6OSZvPLO+ZXXl/o2DCg1fT4iO99ron2OUUP J+7R7KfGfpO/wzWhPOTGPNkDXwiQC5LSF4S4awmuSAGpJ3jbZIzTkNh4HpFrZ0Ni YvQeH3KJewwZfNMdvF9KomFdDDXC8xNnam6dF25IYvsBqwoV2bV4vv/wgsgBh+VC wD75CZGPjqZ9mAg6OalNFjt+dev2dq9fC28Zr3xt8T4BQWhFPbNIx/FnaEJzxk2X +q0jmVdj7T9bQWT3v+KfVWqE03MxZfJo+ZowJCq+VwlHwGEyuNGe0e7/G6pGNb4T cCrjg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddukeduhedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehjihgrnhdruhhnihhvvghrshgrlhhithihsehgmhgrihhlrdgt ohhmpdhrtghpthhtoheprhgvshhhkhgvkhhirhhilhhlsehgmhgrihhlrdgtohhmpdhrtg hpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhgpdhr tghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 Aug 2025 12:23:50 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1756398226; bh=NPAWRy5zDojml9OWJ6976HOnV7qE4YJK5IBJwOaZGyg=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Tah6pau3PG5Ig39qYk65fKJF4Q3DBhnh+B06bQlIJ1uqKOD6BiDU4oW4/2MLyVXLG FvLtJg+TID7IB7wQY5C758jjBKsyGABKYubvnJOtU+Gf1iLVC/kaNH21rRoV88yTNi SKOhX6CaMJ32e4PTAjbrQnlBIurnAdTKx3dyK4sJXAdNd+iOOpOgJQV3MAwVrboSiV ra5eyA9fvdfE6ifRTWRYVp7YyZ7KQX4jy5aiBmwq0i1apOHNJLBbg3abgbByXtgl/1 n3pKqqtIKS/R40VZe8JvPrcqvrRBSvk8w3x747Z7EKkLbo9UjcBnvs3kkuC2J8dkif IB9eTaji+v59g== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id A09B86E; Thu, 28 Aug 2025 18:23:46 +0200 (CEST) Date: Thu, 28 Aug 2025 18:23:46 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Tom Lane Cc: Kirill Reshke , jian he , PostgreSQL-development Subject: Re: misleading error message in ProcessUtilitySlow T_CreateStatsStmt Message-ID: <202508281623.awysrsga4r34@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1885537.1755877852@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Aug-22, Tom Lane wrote: > Hmmm ... maybe something like > > Mathematically, a "relation" is a set of tuples; this is the sense > meant in the term "relational database". > > In Postgres, "relation" is commonly used to mean a database object > that has a name and a list of attributes defined in a specific > order. Tables, sequences, views, foreign tables, materialized > views, composite types, and indexes are all relations. A relation > in this sense is a container or descriptor for a set of tuples. > > "Class" is an alternative but archaic term. The system catalog > pg_class holds an entry for each Postgres relation. Thanks, pushed like that. I changed "a database object" to "an SQL object", because that's a term we have a definition for. (I also wrote "PostgreSQL" where you had "Postgres". I think it might be okay now to change the product name in various places here, but it seems better to do it consistently across the whole page.) -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "¿Qué importan los años? Lo que realmente importa es comprobar que a fin de cuentas la mejor edad de la vida es estar vivo" (Mafalda)