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 1rWuia-007nsR-7R for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Feb 2024 08:52:45 +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 1rWuhb-00C6al-A3 for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Feb 2024 08:51:43 +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 1rWuhZ-00C6aa-Ib for pgsql-hackers@lists.postgresql.org; Mon, 05 Feb 2024 08:51:43 +0000 Received: from wfhigh7-smtp.messagingengine.com ([64.147.123.158]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rWuhW-005AI5-I4 for pgsql-hackers@lists.postgresql.org; Mon, 05 Feb 2024 08:51:40 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id D58AA1800069; Mon, 5 Feb 2024 03:51:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 05 Feb 2024 03:51:36 -0500 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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707123095; x= 1707209495; bh=ighzc2cHnU/TM/kmUshUIY64xj+OlqQ79BOhFDTrlnU=; b=W TVE0Ivjlj/0wdtHlTP3oo/CrPtiERbc0ZTbk1htqp2FX0KH9kb0uHMIwiVkIUuYC BEIGYZw8ZCdjEHPgXgMmh1f2f3hwY1CfEUntW5TILYAo+re6EGIP34/Y3XmdNlEg ZYyDqVYWkj+MWOokcrhE/AKBhNsvkdCsU4d6PyCqc3XitdKk0Jm4Ho13mIGx4Mq/ f06blRUZ8qYdYCWowOgDYLxWg3E62RKyoYVj0mxOOVzZzdWmXKE8isW5jEsimkct iT2wn1LJNNdZ0qDRycOk15MSzcQwK+Up5xagJt4UOphPr4SlRmDGvdhKp0ai+YBk uOPIwlJCGsSupPKCyy/fw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduledguddviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpefgtdegleeggffftdeiuddufffhveekgfdufeethefg tefhkedvgeejlefhteehvdenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtoh hmpdhpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Feb 2024 03:51:34 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1707123093; bh=boYpuT4bEZGlsj0CO7TGliwkOfEy69vRxoMY+VeJm+I=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Cc5QuU1yaTPv+2Sp2H6IW76VMBM+j65J70faTsaZ16MLSCdVjeLYR/Ff+S7sUsXp3 PHUZfCYVafkr0mkioG4GoZM8B/49iYpJA2jA1uS9xmZa0ER7IhA4IQ//mcUAvNy7I2 qjGEXSyMMxbfA+5IvrGCPw6qrFcWUeAflWsAA/PyovNBxDDR/WkHe1aGGv0cbbCcP8 ovlgGPf7YOhDWcNyJ9hhcRTZLIGzQ8osi9I7cECBBkI7hw75DEDoGI0LnIg37/QgjO Yv2ymgzqi/8tWEmmfkaWQwNMLcgZyhv8xdO0/CSe5+bl6a6/hipVLSdZfXaaEesivy y2+KSUH4ENJ2Q== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 4D0D9BA3; Mon, 5 Feb 2024 09:51:33 +0100 (CET) Date: Mon, 5 Feb 2024 09:51:33 +0100 From: Alvaro Herrera To: Michael Paquier Cc: Alexander Lakhin , Dean Rasheed , Peter Eisentraut , Robert Haas , pgsql-hackers@lists.postgresql.org Subject: Re: cataloguing NOT NULL constraints Message-ID: <202402050851.2ktovxwc4irp@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 2024-Feb-05, Michael Paquier wrote: > On Fri, Feb 02, 2024 at 07:00:01PM +0300, Alexander Lakhin wrote: > > results in: > > NOTICE:  merging definition of column "i" for child "b" > > NOTICE:  merging definition of column "i" for child "c" > > ERROR:  tuple already updated by self > > > > (This is similar to bug #18297, but ATExecAddColumn() isn't guilty in this > > case.) > > Still I suspect that the fix should be similar, so I'll go put a coin > on a missing CCI(). Hmm, let me have a look, I can probably get this one fixed today before embarking on a larger fix elsewhere in the same feature. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "After a quick R of TFM, all I can say is HOLY CR** THAT IS COOL! PostgreSQL was amazing when I first started using it at 7.2, and I'm continually astounded by learning new features and techniques made available by the continuing work of the development team." Berend Tober, http://archives.postgresql.org/pgsql-hackers/2007-08/msg01009.php