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 1u2LkJ-00Gkx2-7B for pgsql-docs@arkaria.postgresql.org; Wed, 09 Apr 2025 03:04:59 +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 1u2LkG-00HaZa-VC for pgsql-docs@arkaria.postgresql.org; Wed, 09 Apr 2025 03:04:57 +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 1u2LkG-00HaZP-NY for pgsql-docs@lists.postgresql.org; Wed, 09 Apr 2025 03:04:57 +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.96) (envelope-from ) id 1u2LkF-003nTl-1Q for pgsql-docs@postgresql.org; Wed, 09 Apr 2025 03:04:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 53934sP1115038; Tue, 8 Apr 2025 23:04:54 -0400 From: Tom Lane To: David Rowley cc: Zeyuan Hu , pgsql-docs@postgresql.org Subject: Re: Possible documentation inaccuracy in optimizer README In-reply-to: References: <3887651.1744086487@sss.pgh.pa.us> <111828.1744166032@sss.pgh.pa.us> Comments: In-reply-to David Rowley message dated "Wed, 09 Apr 2025 14:36:57 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <115036.1744167894.1@sss.pgh.pa.us> Date: Tue, 08 Apr 2025 23:04:54 -0400 Message-ID: <115037.1744167894@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > On Wed, 9 Apr 2025 at 14:33, Tom Lane wrote: >> Maybe better: >> >> Other possibilities will be excluded for lack of join clauses. >> (In reality, use of EquivalenceClasses would allow us to >> deduce additional join clauses that allow more join >> combinations, but here we ignore that to preserve the >> simplicity of this example.) > Looks good to me. OK, done. I moved the text after noticing that it really applies to both of the examples here. regards, tom lane