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 1twfBR-00GQrk-Tg for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Mar 2025 10:37:29 +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 1twfBQ-000pui-EA for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Mar 2025 10:37: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.94.2) (envelope-from ) id 1twfBQ-000puP-2Z for pgsql-hackers@lists.postgresql.org; Mon, 24 Mar 2025 10:37:28 +0000 Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1twfBN-000pz7-34 for pgsql-hackers@lists.postgresql.org; Mon, 24 Mar 2025 10:37:27 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 27A631140120; Mon, 24 Mar 2025 06:37:24 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Mon, 24 Mar 2025 06:37:24 -0400 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=fm2; t=1742812644; x=1742899044; bh=Q u9fzYUhBO6tGAvI/QdXW0Zqgr17G1j1Pi90/PJJO0M=; b=Dy3sE6CdLrDH3I1sR LhVGly4UrV2C6+yuwiLtRaZ/gnKm3QfW4+++B7/lW/UGbuDmeOnQhvCGkKXspu2x zjpCxRQVpJaHcQgNMzbp8jlLjoecAcLsR364ni4jXYcfZlSsXoOy7qCxNUEVEgSU RSBzIM6+jDAOqDjdBGKgQ05FI0WIfRcodyMoZKW6Fv/0eEpLUnwUdAvW2Y/uJTW1 2WmzuOZRNSuB7w/dFhl9LrWgdPHqEulIwkRJsbLs0pYz+4QyzMizgV9D/Fcd5uzG yXZ7HVQFTbNffIIh+RiBuZe+5ncbL0Gdhs7HvoRHrc7wH1126re/NQ8UX/540YFx v3q/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduheelheehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddt jeenucfhrhhomheplmhlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlh hvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdehueffhefgueekueef heehgffhuefgfedukeejveduffegffekgeffffevgeehnecuffhomhgrihhnpegvnhhtvg hrphhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsg gprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehjihgrnhdr uhhnihhvvghrshgrlhhithihsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlh dqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthht ohepihhkvggurghmshhhsehoshhsrdhnthhtuggrthgrrdgtohhmpdhrtghpthhtoheprh hosgesgiiiihhllhgrrdhnvght X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Mar 2025 06:37:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1742812640; bh=7q3Vb4zmf2vdYzbe2FZjJ5DcRoh3I5Ac+oPkmcfKDqQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=b6UyE1MNE8S0SkYa0XPcrIBen1Za/81/f2OEY1RPCtd+sSiJJZAyR1AYifuTzCX73 fUTA2snfCVNkxnvaIIYAwek/Ko/VYzv5nZloJZVCl8EhWrZJsvfqV28bHUqEW1NtcB 4uzBdOiNDnqbq8vGlSs6LBPAMugySHeZejm/AI+5GcGRTNpubi6hNiJlkpbd+qc3nl 5MeuVRCEX/nlrzOwHrJOZWE/6qdAOOvYet6g1ooZoHnuCVjbTdX6mFgHYY2wz0+KXZ rWu/iBHzMq4H6cE2cueQ20RaSayXXWw+5IGqeDeiXUiJeVOp7T8OrYKLD5RSAY0swz COsQxb6zeJqmQ== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 787C86E; Mon, 24 Mar 2025 11:37:20 +0100 (CET) Date: Mon, 24 Mar 2025 11:37:20 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: jian he Cc: Masahiro Ikeda , Robert Treat , pgsql-hackers@lists.postgresql.org Subject: Re: Doc: fix the rewrite condition when executing ALTER TABLE ADD COLUMN Message-ID: <202503241037.pjpyt5j7xrfs@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-Mar-24, jian he wrote: > In the current development branch, > virtual generated columns still do not support the domain. > you can not change the generation expression if it contains a check > constraint on it. > so virtual generated columns don't need rewriting. > > IMHO, the committed doc description didn't mention this exception. > we need some text to cover this exception? I'd add a note about these two things to the open items page, and wait to see if we get some of these limitations fixed, so that if we don't, we remember to note this limitation in the documentation. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "All rings of power are equal, But some rings of power are more equal than others." (George Orwell's The Lord of the Rings)