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 1tfRXQ-002PvN-4X for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Feb 2025 22:37:00 +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 1tfRXP-009QnP-6d for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Feb 2025 22:36:59 +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 1tfRXO-009QnH-T9 for pgsql-hackers@lists.postgresql.org; Tue, 04 Feb 2025 22:36:58 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tfRXM-003Jck-0l for pgsql-hackers@postgresql.org; Tue, 04 Feb 2025 22:36:58 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id 9B5C32540135; Tue, 4 Feb 2025 17:36:55 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Tue, 04 Feb 2025 17:36:55 -0500 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=1738708615; x=1738795015; bh=FGIQEYl1cqpFwWFdU9RXCGPMM6QRzXjh hA0BKqbGXUA=; b=L5cV1qoFJSrRDedmP0GtsAcIVKc8RRmBapbxlU1Jrb0O1Me8 ScDLN2jnj5ZThdBhJsNiEPE+JEFGY8bbfpW5cRU01E+E3YxKHksiFOhwvgpCdeSX W+vverdI4JaGz/dQHhBq35m/jBgW2LAub3eY2MxS6ChAq3RuJi3y6hPAKDyHOVQ2 fx6gPc+syQI/NKoh8YRcVRuVMBTSXZmrjltYvHuiJySxDP1WiiazgOVWfnelCh9t ZwChS6gr8u01/p/1ArOcCU6bCVK7CBdOt5ssz7P6jGaRKJiVQwqRYLcWMBhD07AE yYlmTjk+3FlMsbif/nIscpK9UDnVvfYAOh5acw== 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-sender:x-me-sender:x-sasl-enc; s=fm3; t=1738708615; x= 1738795015; bh=FGIQEYl1cqpFwWFdU9RXCGPMM6QRzXjhhA0BKqbGXUA=; b=h nkjGTaYKr3EbER9l9PqLn/RT9U8sEwuU58nVDwZrW4PsZ381mcCRNoNWTurZg9Va G4MSRb3B+XQoHMqRopj2quDbXd51wevfsLHZ4/Daj8XAu2/zoSk0kuKuuXV6SOLY LNer3Q7Gtg3rkbPfxvJLIxHFWIxWT3WfHZNMJ9f35qLi9vQDa0uaWBFm5kz+zUYv iflO4Cg7mO/N+fUFuv7qaDcGU6FXl4kOXHjXHm4trUI2r8Vx41LdphK1xHDDSw5Z qot/qpx0sBW4fVS8EUC5PNQbXnOjRHyayGGevy2B0QQkLv6h6uoV90b4YbHFwJaP ap5ZlrzX8/nQzYPUEhnRA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvudejhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv jeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghish gvnhhtrhgruhhtrdhorhhgqeenucggtffrrghtthgvrhhnpefgjedthfekfedtuefgieel heetleejgefhueeltdfhueetvdffudekfeejhfegheenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdr ohhrghdpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoh epshhhlhhokhdrkhihrghlrdhoshhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhg shhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepjh hirghnrdhunhhivhgvrhhsrghlihhthiesghhmrghilhdrtghomhdprhgtphhtthhopegu vggrnhdrrgdrrhgrshhhvggvugesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Feb 2025 17:36:54 -0500 (EST) Message-ID: <1a754acf-18fe-4f54-bb02-12c674b7f83d@eisentraut.org> Date: Tue, 4 Feb 2025 23:36:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Virtual generated columns To: Shlok Kyal Cc: pgsql-hackers , jian he , Dean Rasheed References: <09800cb1-43aa-4239-8918-46b71ede4900@eisentraut.org> <536b281b-2cb3-4477-971f-c64838bc6263@eisentraut.org> <51875199-d5f5-41ed-92dc-3e7b1b996991@eisentraut.org> <84adfb1b-826c-42b2-a907-b327d3760c7e@eisentraut.org> <831d7f99-0618-48e5-8557-f3d57137f339@eisentraut.org> <64c2468c-3b69-44d7-863a-165931a70c1d@eisentraut.org> Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 28.01.25 10:40, Shlok Kyal wrote: > Test 5: Update publication on non virtual gen with no column list specified > > CREATE TABLE t1 (a int, b int GENERATED ALWAYS AS (a * 2) VIRTUAL); > create publication pub1 for table t1; > alter table t1 replica identity full; > update t1 set a = 10; > > No error is thrown, and an update is happening. It should have thrown > an ERROR as the unpublished generated column 'b' is part of the > replica identity. Thanks, I have fixed that in v14. (The other 4 tests were correct, right?)