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 1upOMI-004GvN-27 for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Aug 2025 09:46:55 +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 1upOMH-004X57-9H for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Aug 2025 09:46:53 +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 1upOMG-004X4y-VN for pgsql-hackers@lists.postgresql.org; Fri, 22 Aug 2025 09:46:53 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1upOMF-001FaH-0B for pgsql-hackers@postgresql.org; Fri, 22 Aug 2025 09:46:53 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 97E65EC093F; Fri, 22 Aug 2025 05:46:48 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Fri, 22 Aug 2025 05:46:48 -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=1755856008; x= 1755942408; bh=JVnCdtmaiEAnGk3Dl6qEJ/OObXKg9MttpkzFGtfFBOs=; b=f IdwuzBHRQo11KdT/Ke0sWaIYzORjUwphTSCfhG83ZCfdFiAN+oF6ieebnPfQTgPV umgx2+tG+e+SPJ+MkwbdUrYjaM4A/mvH6fiuF87ogOxVcJ4UZTMzUJ7lttXQSH5o MmW4rmrBOmvRcq5dF33/EW5l88lfE8BLa/8U+UJLPL0qXeKwGvYWAjLLThWTRSQL U2DhAX+hzYdybP6djxLsex3mGQXLFbI6NpowpBHLCYVmA4raSE0F+R/mU/TkF8Yr 0MBC5QOAEtUm4vwdOyFqfHyGIHtNhZp+Dc3w2bUA9XMwJrSdzsD5bHjUfU/b3ahe QYovsm2pYRYqaeu8Vpk1g== 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=fm3; t=1755856008; x=1755942408; bh=J VnCdtmaiEAnGk3Dl6qEJ/OObXKg9MttpkzFGtfFBOs=; b=knF/9dueNY6LUP9fE r8zg6A9rHC3HmqlNdGQ+dp8k7iF+gAZUuGnELxC5Lc0WjlN6KsU31GSq4gOvX73C QrEkV1rGK4fj1hyIdbFV5KECN8AjY53/e834QdzjWniB606U94hLN5FcsIMbbnp7 GhoYPeGz+Z1/JacBbxw+Noxx9STNMKyNvkLxx+8nAU/XcIAqahJd8CWwQ28fuYxw dccDNdmAS7vcHSxYcgKjcHA0hdugtcWYGn1PW4iW13L/ZtcqEqSWCf0EK+cbnx5v 9RH8SuumRSTGrj40C6Y8phnyVLzbbKaIDgvAKt8Lm0mLPwb3WWQ61beZX1g3IOkz RfTOg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduieefgeefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeefgeevkeetjefhueekgffhffekiefhueeljeeiffetteettdffkeek leejjefhudenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgpdgvnhhtvghrph hrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgdpnhgspghrtghpth htohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhirghnrdhunhhivhgv rhhsrghlihhthiesghhmrghilhdrtghomhdprhgtphhtthhopehrvghshhhkvghkihhrih hllhesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehp ohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 22 Aug 2025 05:46:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1755856005; bh=tDlbavhmOAEQab8N/NDbDhoAv9/i6PNAMwpiLLxbM1c=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=WUb0w+LD7xioGV1OHvZVoJNbN+DLJMReMtQ2K1+uninr1oIIFLkK74qSX5GqwQgGP GhZ9cji7aOnB21j9w/J0+gzB7O4dBcx6yP9Rk5Dilj8JWaVtA93sO9IJkCWZO7JfwV zYpFvDbNJBIjkDRWteA6ktXwMR/TYCPg/WgpoKnbfUT3A/+eTYKEiRTuaotmy+dDdF FHNcYKY2/24Zzr/Xgv6TLwI/4mvl/LdBhU5psiCKzN5d6Jh3DNS1vhRz1g/y5CBlCj VTshryVf4Poyc3kAR+lvyLkPZEKV9wWHhMVD5tqP6tdJcCI5kQLMr9pe0FXJaHM5l1 lBfy2yu85xFFQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 0CCE86E; Fri, 22 Aug 2025 11:46:45 +0200 (CEST) Date: Fri, 22 Aug 2025 11:46:45 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Kirill Reshke Cc: jian he , PostgreSQL-development Subject: Re: misleading error message in ProcessUtilitySlow T_CreateStatsStmt Message-ID: <202508220946.osn274hnjxez@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Aug-21, Kirill Reshke wrote: > I wouldn’t say this is misleading, but " a single relation" is indeed > not precise enough. IMO we need a more precise term to distinguish > regular relation and table func. I'm not sure. See the definition of relation in the glossary: https://www.postgresql.org/docs/18/glossary.html#GLOSSARY-RELATION The generic term for all objects in a database that have 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. More generically, a relation is a set of tuples; for example, the result of a query is also a relation. In PostgreSQL, Class is an archaic synonym for relation. (I wonder why this says "generically" rather than "generally". Is that word choice a mistake?) Maybe in the "For example" clause we can also mention table functions. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/