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 1vu0KZ-00AUQZ-0w for pgsql-bugs@arkaria.postgresql.org; Sun, 22 Feb 2026 03:40:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vu0KW-00AgRX-0T for pgsql-bugs@arkaria.postgresql.org; Sun, 22 Feb 2026 03:40:24 +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 1vu0KV-00AgRN-13 for pgsql-bugs@lists.postgresql.org; Sun, 22 Feb 2026 03:40:23 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vu0KQ-00000000eg0-3Zys for pgsql-bugs@lists.postgresql.org; Sun, 22 Feb 2026 03:40:22 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 479711400105; Sat, 21 Feb 2026 22:40:17 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Sat, 21 Feb 2026 22:40:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=fm3; t=1771731617; x=1771818017; bh=jd/wqKHXjU 88E53gg/iF8iId0dBUMOsfpdjwSC+NgFs=; b=Qyqn3RnKTWJpuHpPiyI07VznOc j2/rMLX9mWC+eJ3rq/ShjDaurYsHpkkuw1+pSQJ8+gIHHNyzxRR+8qmFS2jWqDS0 rmG3HG/u2rC0A4Gis4XqAFNltI6UyUa+4aZTGpo261q11oyYUY+pcoC+fXQrt2Vt 6KuwJr2HooGJUy05P+++zfx9zWqHpWuJnGC5GbHEqXPbVyb9f/XP6OPvbFTfqNN/ bCiwCfGuJPvsXymrVtHwDexMx6PiBxdkj2FpDyd2CV4XjhKNBDsdrBzgMIFwdWQo K26CmuXByFUN8AVQ7RUMpjOXx+HVlHBve8dqJ/QNAY3fJMF49KzOvGquXA7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= 1771731617; x=1771818017; bh=jd/wqKHXjU88E53gg/iF8iId0dBUMOsfpdj wSC+NgFs=; b=JBQuBIAngLHRvHJ8vyOfNDl3FXOxaceHcYu+8k9E8nCJTkNb+z2 nd18gyeA4AhStMXmeTtjIoG71fZ0NiVUlrZpzt2HxKS6GzXdNxUwvAc4R+NvuOR5 XHgDEBMcCQqgaXx2rq3EHE1pnBQ7A7UTteA23ZHk8qI6sFgSphq5wy3efYaGZau5 uU9vp/L/XQpL6p3ctJ3fmH20rM3fjplbZrF24XI+Bbf/WKfXkbdp+5JEebAQQDip rX+k0cMvLJr0fHiY4H9H8kFCewCAjmbmPMBJgGUScPRfrRLtrO+zC4GufmCe3f/2 XOXxgPmbm/CloBJYm0qib9YXNRXg6QM3Rfg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvfeefvdefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghlvh hhvghrrhgvsehkuhhrihhlvghmuhdruggvpdhrtghpthhtoheplhgruhhrvghniidrrghl sggvsegthigsvghrthgvtgdrrghtpdhrtghpthhtohephhhushgvhihinhdrugefrhesgh hmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdgsuhhgsheslhhishhtshdrphho shhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 21 Feb 2026 22:40:14 -0500 (EST) Date: Sun, 22 Feb 2026 12:40:10 +0900 From: Michael Paquier To: =?iso-8859-1?Q?=C1lvaro?= Herrera Cc: Laurenz Albe , 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: References: <61c535617992fff830961ecc09a9c20096bc1f36.camel@cybertec.at> <202602211127.yhfjy43if2kk@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Obcz3A34aAvyOnLx" Content-Disposition: inline In-Reply-To: <202602211127.yhfjy43if2kk@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Obcz3A34aAvyOnLx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 21, 2026 at 12:56:24PM +0100, Alvaro Herrera wrote: > Thanks for this! I have pushed it now to 18 and master (right before > the embargo for next week's release -- not really apologizing about > that, since this is clearly something that's going to bite users as they > move up to 18). Two notes: >=20 > 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. While I get the feeling of urgency, I am wondering if this particular fix should have been delayed and pushed for next May's release. We are already doing one quick release for the regressions found in the CVE fixes.. Based on my read of the fix, I feel rather safe that this is OK. But as I have quoted upthread, the reason why I did not reply yet was to wait for next week's release to be out before acting. That's your code of course, so no objections from here, just a slight doubt about the timing. -- Michael --Obcz3A34aAvyOnLx Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmaepoACgkQnvQgOdby QH3lkg//XgLvdgXEC3BIWpnojVdkDPqpd8moNFugd7/V0EU1g+Fyp+RdmnMMoXI+ mMm5bmWmxmCdlXxWuO+U5ri3WMPVVRkEvObDTs7HHBzXkZzxNBhw1d63vxMqCg5W 3PohKMWSkDVkqMggQWNy0dKodqaIneWwKI5+EtsAtioTqKoTpfXyIc+bWBxo4xWI 1Z6mtB26X9kXL0vfJfQR8BM84IftgxguLYBLLynFZ7S9oBfRcQeGp8iwIwZSVJhq XLQFVwY26DfNnR1wBXCAbx6Ipm1cIizv41rwpMgDsjUXFA6I+HUamNoX4kpmKS3z PJ5ZFDLwTBgVaZKx8F0+K6llwniIOMAqf+tpE8cIhiD252gWekE7GxBsG+lxyJIy RYWpWQxGyX9ilHSm2fmKRh/+R/MeubZYjKNm+FNG8mwsvK6NVz/Lb4NiSDGrCwx9 KYQ2sHd/VancFPE0MIWbgqaQH0knzQw+urf/1t/Nw45TMFx4vxM2flm5xGafh/Ai 1cFeojYZD7TtkFo5Z4s0AMzgGygSq+J4cQhN0lonDCwWf4e2cEImbywvZ5mh0IKC s/A+TwtsM+G35qjRz7gQZ2qOCVuKBiPIzie7XRaT3QsmONE1peMYpAt2dfTOCSYN AmxHEmFm9pQfnNAFpbFEF7uOIhh86VCkhIrGA5DJ9xw48peZ/vs= =Zko3 -----END PGP SIGNATURE----- --Obcz3A34aAvyOnLx--