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 1s6tov-002MS0-5s for pgsql-hackers@arkaria.postgresql.org; Tue, 14 May 2024 15:12:02 +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 1s6tov-00FwSB-2F for pgsql-hackers@arkaria.postgresql.org; Tue, 14 May 2024 15:12:01 +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 1s6tou-00FwS3-Mw for pgsql-hackers@lists.postgresql.org; Tue, 14 May 2024 15:12:00 +0000 Received: from wfout5-smtp.messagingengine.com ([64.147.123.148]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6tos-000B17-5F for pgsql-hackers@postgresql.org; Tue, 14 May 2024 15:11:59 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 4572A1C00174; Tue, 14 May 2024 11:11:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 14 May 2024 11:11:56 -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=1715699515; x= 1715785915; bh=v6bqnbQRlcPnGkPs15eK4M4iyQD6ZkQnR0znqsBoMIk=; b=b WL/qM4mdLbflLiBUSCsaYpuG93H03u1gUrXuyAgPN9mvDTswXK0cflX/J9vf2IA+ R3jjDCHSu5XU2XeJe65n6h/4lepJmoi8HYPOFzQFo2CAft82WwNm5aR7/PyzBHLc FknB26eoY1PZF8AKLcRI1DiVWoIxnX0g4nqv+9RCX4PdeRTmjQNoOstQmZvI3Qq8 6JTxDsKYic0BOuv+xym8Xz/u5ItGynHpPp/McBc4QGbPdVKAHUYfBPsB5vT538df rfHGbYUYnHC7ILEyvqcAUVKYVXBCG6a6ljTVTE5XT8e0Yn7CTRYB8tA7vQy75nAS LzPwFRCOdjDSiHntStZiw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegiedgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 May 2024 11:11:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1715699514; bh=+awHq1l75hmT3MCJBpFnDdTPsfwdtOcZKOlsefuyId4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=MuQ2oPxCrycXQ/NyI9G0XNUYyemyW46vVfEZfr2TwdL+jBye0yZtcT4a7TCzn6y50 zI6UK95gCZkv3z0farANk5eowEko9EGbLWBByrWIvfWQpx6lfPZQpLiMu8xSmpkRJJ 0mskEeLrG613OGSp+GurcNJIyDD7MSj0FxmhNEBgAT80kU6WPZ+Jwyr9bjmGOZpIuR LTDY1i53Wph65p9ecgXz1fARPmUxK4gg5eEBrWCTAvcewhfPz2nSi3o+lpbJJoWHQP tzimbODTjaYUsCun2aJsfMIbzp6Wqxy+/KVmsrTnLRpiope3z7S3/F+guRYc7tfAI/ 8l/nNGH2na4Rw== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 074FF10B; Tue, 14 May 2024 17:11:54 +0200 (CEST) Date: Tue, 14 May 2024 17:11:53 +0200 From: Alvaro Herrera To: Robert Haas Cc: Dean Rasheed , Aleksander Alekseev , PostgreSQL-development , Amul Sul , vignesh C Subject: Re: Dump-restore loosing 'attnotnull' bit for DEFERRABLE PRIMARY KEY column(s). Message-ID: <202405141511.2c653rs3uxks@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, Robert Haas wrote: > On Tue, May 14, 2024 at 10:42 AM Alvaro Herrera wrote: > > This had already been committed as 270af6f0df76 (the day before it was > > sent to the next commitfest). This commit wasn't included in the > > reverted set, though, so you still get deferrable PKs from > > RelationGetIndexList. I don't think this is necessarily a bad thing, > > though these don't have any usefulness as things stand (and if we deal > > with PKs by forcing not-null constraints to be underneath, then we won't > > need them either). > > So, are you saying this should be marked Committed in the commitfest? Yeah. I've done so. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Pero la cosa no es muy grave ..." (le petit Nicolas -- René Goscinny)