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 1s79PU-003xSb-59 for pgsql-hackers@arkaria.postgresql.org; Wed, 15 May 2024 07:50:49 +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 1s79PT-00BSPH-TU for pgsql-hackers@arkaria.postgresql.org; Wed, 15 May 2024 07:50:47 +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 1s79PS-00BSLf-Td for pgsql-hackers@lists.postgresql.org; Wed, 15 May 2024 07:50:47 +0000 Received: from wfout7-smtp.messagingengine.com ([64.147.123.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s79PQ-000IZB-0e for pgsql-hackers@lists.postgresql.org; Wed, 15 May 2024 07:50:45 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.west.internal (Postfix) with ESMTP id 355E51C00157; Wed, 15 May 2024 03:50:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 15 May 2024 03:50:40 -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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715759439; x= 1715845839; bh=7HtqrH9DbV23JQTy0P2WiIKEaOkeV2++epcfxzNWb0o=; b=c P/xsDeGox759dXCi9RWSZt+OJT7336lr0o9X98OfE5UwOWoVIKsKnObsPD4Wgn7J sXjKuO4cFAc647XAkeQ1wqATwxzWl2bR+T+9phQ2yIi6cApAuTtJ8zW3ppLY8nwc 2h0zJMNFtpqpSb4JCJzpJbccHLfyLsRIbElJWWOUfs48DTtDsodVbc3tueB0sjmZ aiuWT8M4k1CU5mMqbAtsBLKBBbasbYmI0xiIz9S/0yGe/i9Znpz+oxbVypeUK9st WxkJ3lkuaLueXG9BzbCbSVR9suJQ1APR0g8acKlwGcRjAPkyLTDm0IJh2JPXUZU+ 3us7LaDUpZQPSt9Hv2ZIg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegjedguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeej keffgfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghl vhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 May 2024 03:50:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1715759436; bh=uz6hhQyRGBysUs5TZybyfc8ozhVwx1KCqFxlaZFJGAg=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=kwoi9CZ+dzshaj8zdPtSp/d9WVbGBW8qq8Pj3gPieP+tt9atSJHscFT/GVgOe1ibR DcJxeG74wv5qgjSszzO+cKRPxLyA4CAxRSqHVGmkEaqmXqABd6F7FB3AWayCmgpnnA /BGRGJCXAJEBxSZ3IUxq+aOfn5D3E8LU/H38V8hen9+m3uuUZ5AKxKStkqGRtfc9IB sZMGfO3w+J/IjWR6iV0roiAktarnNZNUj53NR9GkRYa98IWstj9c1s5BwN4FFH3dDS ucpU3Kzb4Jqy+zUK1R1fb9g/Cdb5iBnY5ICD//6174dm+9iDc8Tg4cbbYWBrKYYtVm xovwASH/03Upg== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 3A2AE10B; Wed, 15 May 2024 09:50:36 +0200 (CEST) Date: Wed, 15 May 2024 09:50:36 +0200 From: Alvaro Herrera To: Bruce Momjian Cc: Robert Haas , Kyotaro Horiguchi , exclusion@gmail.com, dean.a.rasheed@gmail.com, andrewbille@gmail.com, peter@eisentraut.org, pgsql-hackers@lists.postgresql.org, Justin Pryzby Subject: Re: cataloguing NOT NULL constraints Message-ID: <202405150750.qq723smkwrqc@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-May-14, Bruce Momjian wrote: > Turns out these commits generated a single release note item, which I > have now removed with the attached committed patch. Hmm, but the commits about not-null constraints for domains were not reverted, only the ones for constraints on relations. I think the release notes don't properly address the ones on domains. I think it's at least these two commits: > -Author: Peter Eisentraut > -2024-03-20 [e5da0fe3c] Catalog domain not-null constraints > -Author: Peter Eisentraut > -2024-04-15 [9895b35cb] Fix ALTER DOMAIN NOT NULL syntax It may still be a good idea to make a note about those, at least to point out that information_schema now lists them. For example, pg11 release notes had this item Add information_schema columns related to table constraints and triggers (Peter Eisentraut) Specifically, triggers.action_order, triggers.action_reference_old_table, and triggers.action_reference_new_table are now populated, where before they were always null. Also, table_constraints.enforced now exists but is not yet usefully populated. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/