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 1sWGrK-00ECMG-0m for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Jul 2024 14:51:22 +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 1sWGrH-00ENPu-SK for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Jul 2024 14:51:20 +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 1sWGrF-00ENPl-OI for pgsql-bugs@lists.postgresql.org; Tue, 23 Jul 2024 14:51:20 +0000 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sWGrB-0014cV-Az for pgsql-bugs@lists.postgresql.org; Tue, 23 Jul 2024 14:51:17 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 886861140220; Tue, 23 Jul 2024 10:51:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 23 Jul 2024 10:51:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding: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=fm2; t=1721746270; x=1721832670; bh=x1PsDXfEsOsbEN1zC9l2+9ZbhCRT3Nih r7tatoZhBwc=; b=viewJFz+6v4vD/XOTHtUd89+OLEOjPdZ1EWBrzBKKTwRXOXC OKwRYncvdDqD00lS0i/Co8688ubRPLTrcgrDLsud8AL6xf1Zx0J+TxRyTG15esh1 5jiygZy+yIJ49OijXXW1irxYcnj8sHSbyTVKbxLDUWwxsuj53KXsdrEZu8O+xpCk 0IVqLAgXFsnd74ozkvqQ+P2FAIB6n0FP2e4ttR6Q+xTUrvzOOf8XZJ46TJ5iFEix fO3PvGR2L8mGHDzJXsywIQ7V/Q7ojo1Tb9x7d9cCViXtYWlQanEZxRJGL+wk7U+8 NCVShegnx+iXKoIcmwaeTAfZwihceq9cbSV+mg== 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 :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1721746270; x= 1721832670; bh=x1PsDXfEsOsbEN1zC9l2+9ZbhCRT3Nihr7tatoZhBwc=; b=p gumJ+VTsXrIRbG3GgEcm1GCo86Gyg7BFZyUU1ToOBE69TXFbT8P9gyVBqcfY118A nSNFFf1NdqYROg/8CT+TR7uGArq4CVmMUi88eM4r8PYJDmovGmhb811jrFUsD/Pr QEdPiCBA/IeU91xMLFlgEGO/kAGU5pYeT9WGRfy158UQP4vlx65QrtkxsmfYRhXh Cs5i1Z4OlRttBwYtGqYXqL8Cq/C83zJJbDZNWkDOPLD3rdzdHx5rxT3vkMofvyzk grLOVJaHeP3wleb8WNYhmJvU51bxA0Jjqvc2V+TVGzjierYqR253uCfb+PcIQaLq FExxKe0JOt4BiwnybxSPw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrheelgdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqe enucggtffrrghtthgvrhhnpeetffevleefledtvdejgedtfeejgfelfeelvdfffeejudej veehiefggfejgffggeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhes vghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthhopedt X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 23 Jul 2024 10:51:08 -0400 (EDT) Message-ID: <64060b2a-1f93-48c4-b042-baf0db6239fc@eisentraut.org> Date: Tue, 23 Jul 2024 16:51:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: A generated column cannot be part of a partition key To: "David G. Johnston" , Diego Stammerjohann Cc: Francisco Olarte , "pgsql-bugs@lists.postgresql.org" References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 23.07.24 16:18, David G. Johnston wrote: > On Tuesday, July 23, 2024, Diego Stammerjohann > wrote: > > So, for me, it would be good to have in some place the information > that an IDENTITY column is not a GENERATED column. That's what > caused confusion to me. > > > Yeah, 5.3 defines what generated columns are and does not include > identity.  But nothing in Chapter 5 discusses identity which seems like > a bug if Chapter 5 is intended be the official reference for concepts. This has been changed in the documentation for PG 17. There are now separate sections for identity columns and generated columns: https://www.postgresql.org/docs/17/ddl-identity-columns.html https://www.postgresql.org/docs/17/ddl-generated-columns.html