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.96) (envelope-from ) id 1vtnIl-00Dg6w-0O for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Feb 2026 13:45:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vtnIi-009rVl-1o for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Feb 2026 13:45:40 +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.96) (envelope-from ) id 1vtnIh-009rVd-2j for pgsql-bugs@lists.postgresql.org; Sat, 21 Feb 2026 13:45:40 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vtnId-00000000ZKL-31vy for pgsql-bugs@lists.postgresql.org; Sat, 21 Feb 2026 13:45:39 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 1CF66140010E; Sat, 21 Feb 2026 08:45:34 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Sat, 21 Feb 2026 08:45:34 -0500 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=1771681534; x= 1771767934; bh=EDYOloqA9Dx5yR1P5xg8fZpO2YSNtqOTPoi4fUVDmTE=; b=a tYHDSP7uUcMFEhMImU/DV8cMgqmTfMnHlSrTs32Iwcxu3QaJgIrMHJi4+02n3/Fx LepLi3qu6pk6sGEAu335B7RiQBWdlQO2mWkarUM7h7zhAzw3tBusleH/+DSJ8BuE nzDltbjW8pjmU+q/AHBDaU/RrZGR67YYS+91Ei7KqggnSHm8/3m4agsssP2lb+0B bri/sshQCY8DxMaBvKYnB2kxXwRsUiDJcTW2tTxSBk9JnKy8jm8xobFhyix9zPDu 0oplm0El1i5DIg28s2kr9vbkvR/i0LC5egTQb6/5G2PbGlqCi97iQXXtt/CY41lJ 6Is6xe3d7eL97R/h/6AHg== 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=1771681534; x=1771767934; bh=E DYOloqA9Dx5yR1P5xg8fZpO2YSNtqOTPoi4fUVDmTE=; b=g3B0OHUUE936vQ0CI MFCIBsj3/6vEZLrhtB9Znjtfl50aE5jWGWTwKFUcp0+gCBz8ai5gxnCnGcnH4+M9 9VktWpPkBcvzNT+8muxmzw9aMF1tb/W6wFQhR9yf9UUD4ZWO3donbb1Wfn8jV/cM rO/TETv4vB9zAEFUQesuvo6AK5HOeZc7xMfJmxANuue8IdXH9P7PBUX2mi8uOPO2 o7YD/dPD4YEOG4NOKqs8cxn3KasfBG/b42PdjChtsLCeNJ57pQudPM0M9yJWxmeS ctWxSU91pMTB6FfHtSssO5Pl9yx18qDnUN98sV799zyLAbxX4KoW+USIwyiBX5QM opJXA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvfeduheduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehlrghurhgvnhiirdgrlhgsvgestgihsggvrhhtvggtrdgrthdp rhgtphhtthhopehhuhhsvgihihhnrdgufehrsehgmhgrihhlrdgtohhmpdhrtghpthhtoh epphhgshhqlhdqsghughhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 21 Feb 2026 08:45:33 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1771681531; bh=NO1qj60ro+HIFZNcuKTJMgGejWF7qyrj2d5et5OUjYc=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=S8eLSsytBJ+O2VofG2JQ1eVHSYoie8AlDjJly7d/U1XkWiRVGPwX/FYmEC2siwjH0 GZLo2hngTs1hkXWR/DGmsiL974x0KbolD3fn2A039s6VZlRyHQsgwsngPvlqVopbBV mJUuATcnGzAQtgQdZC7XDG1ZxlsDqX6lbvKmbovCBETSTPWyabJBxhokL+V7o6SXIc 4i8/TM6byLPIij0h4aJqrDeKUmNwjp0ipXUkqBgDOATRMloX5sfzAIMAFSs27GoykK ylmgBiE1CBt1iwEDut0B+psPAJd7rBogLMWz1v3LMJGe3K9UU/7DjCmmfhr9yCfNdA eD8cOjeU+mCoA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 4B04A7A; Sat, 21 Feb 2026 14:45:31 +0100 (CET) Date: Sat, 21 Feb 2026 14:45:31 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Laurenz Albe Cc: huseyin.d3r@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19393: pg_upgrade fails with duplicate key violation when CHECK constraint named *_not_null exists Message-ID: <202602211203.n22ngw4ys4dj@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202602211127.yhfjy43if2kk@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Feb-21, Álvaro Herrera wrote: > > 1. this will cause an ABI break report for AddRelationNotNullConstraints > in branch 18. I considered the idea of adding a shim function > preserving the original API, but I think this is not a function likely > to be used by third-party code. So I'll address this by adding an entry > to .abi-compliance-history instead. As expected, crake reported: Leaf changes summary: 1 artifact changed Changed leaf types summary: 0 leaf type changed Removed/Changed/Added functions summary: 0 Removed, 1 Changed, 0 Added function (13 filtered out) Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 1 function with incompatible sub-type changes: [C] 'function List* AddRelationNotNullConstraints(Relation, List*, List*)' has some sub-type changes: parameter 4 of type 'List*' was added I have pushed the update to .abi-compliance-history, and crake is now green. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Cómo ponemos nuestros dedos en la arcilla del otro. Eso es la amistad; jugar al alfarero y ver qué formas se pueden sacar del otro" (C. Halloway en La Feria de las Tinieblas, R. Bradbury)