Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6d1o-0005JA-UL for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jun 2023 20:11:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q6d1n-000183-HH for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jun 2023 20:11:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6d1n-000173-7G for pgsql-hackers@lists.postgresql.org; Tue, 06 Jun 2023 20:11:39 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q6d1k-000aQz-HT for pgsql-hackers@postgresql.org; Tue, 06 Jun 2023 20:11:38 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E37FE5C00C5; Tue, 6 Jun 2023 16:11:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 06 Jun 2023 16:11:35 -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:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1686082295; x= 1686168695; bh=wto9WaHBy0d+XJe/ioLsAoOJzby5EMRW0nARJ2yXIdo=; b=L OdKq56VxOPFRUJf0zvk5xhNCJKVFU/nyPO2cZTarnbkKwBARSsd7GAF1fyqNMPLR G1UU8RhsNWiikTvIcpr291Acg87t7+D8F7NJsAjDIj+RGeuuWeLAoyG1uSiak8Rp t4M9HbN2mQJTtI4Vc/k2ikG8tclTqmBUENyu1SeT4h8zz8fAvGEWPjo3nPEkeS1N g11vXOOhCHMY8CLSQs/bQXq749WDYvAoyEgst/vhJvrdza5SVEL5w6C+pVm1zpKe pnwe1fOdTYhjXG5+kA9ocB3akSl9TgkB+YAdZj3yxtRJFwZTgHYloDdA5pHhBgCM o2fyWDoWqft2QQZWXflkg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtuddgudegkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvfevuffkgggtugfgjgesth ekredttddtjeenucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghr rhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdektdffud fftdffffehfffhjeejhffgieeuueekjeekfffgudffhfduffffueevnecuffhomhgrihhn pegvnhhtvghrphhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdho rhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Jun 2023 16:11:35 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 0144238B; Tue, 6 Jun 2023 22:11:32 +0200 (CEST) Date: Tue, 6 Jun 2023 22:11:32 +0200 From: Alvaro Herrera To: Tom Lane Cc: Richard Guo , PostgreSQL-development Subject: Re: Assert failure of the cross-check for nullingrels Message-ID: <20230606201132.i3xjwpsg36p6tii7@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <395264.1684698283@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-May-21, Tom Lane wrote: > Since we're hard up against the beta1 wrap deadline, I went ahead > and pushed the v5 patch. I doubt that it's perfect yet, but it's > a small change and demonstrably fixes the cases we know about. > > As I said in the commit message, the main knock I'd lay on v5 > is "why not use required_relids all the time?". So, is this done? I see that you made other commits fixing related code several days after this email, but none seems to match the changes you posted in this patch; and also it's not clear to me that there's any test case where this patch is expected to change behavior. (So there's also a question of whether this is a bug fix or rather some icying on cake.) -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/