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.98.2) (envelope-from ) id 1xBZUv-00000003Gt8-3UrC for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Sep 2026 15:12:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xBZUu-0000000FReu-3dNW for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Sep 2026 15:12:00 +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.98.2) (envelope-from ) id 1xBZUu-0000000FRef-2Igc for pgsql-hackers@lists.postgresql.org; Tue, 29 Sep 2026 15:12:00 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBZUs-00000001tCv-40lV for pgsql-hackers@lists.postgresql.org; Tue, 29 Sep 2026 15:11:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 68TFBoD4681185; Tue, 29 Sep 2026 11:11:50 -0400 From: Tom Lane To: Ayush Tiwari cc: Noah Misch , Richard Guo , Thom Brown , Jacob Brazeal , pgsql-hackers@lists.postgresql.org, underdog@theori.io Subject: Re: remove_useless_joins vs. bug #19560 In-reply-to: References: <839346.1787765112@sss.pgh.pa.us> <954541.1787846010@sss.pgh.pa.us> <1147476.1787924590@sss.pgh.pa.us> <598915.1789613519@sss.pgh.pa.us> <20260926174457.13.noahmisch@microsoft.com> <79317.1790445906@sss.pgh.pa.us> <138752.1790450872@sss.pgh.pa.us> <330465.1790526732@sss.pgh.pa.us> Comments: In-reply-to Ayush Tiwari message dated "Tue, 29 Sep 2026 19:40:07 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <681183.1790694710.1@sss.pgh.pa.us> Date: Tue, 29 Sep 2026 11:11:50 -0400 Message-ID: <681184.1790694710@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ayush Tiwari writes: > I went through v1. Grouping the SJE candidates by checkAsUser > looks right to me, including the unset case. I didn't spot any > issues. LGTM. Pushed, thanks for looking at it! regards, tom lane