agora inbox for pgsql-docs@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Zeyuan Hu <ferrishu3886@gmail.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: Possible documentation inaccuracy in optimizer README
Date: Tue, 08 Apr 2025 22:33:52 -0400
Message-ID: <111828.1744166032@sss.pgh.pa.us> (raw)
In-Reply-To: <CAApHDvpbJrzQC-gZk0XpxMbk5CW=zj+R5KajuhP=Hw7xSdL5VQ@mail.gmail.com>
References: <CACvHWmYFo+60yMqKJajDDvKN5EM41YHrCT3oxukwXmGAqpWvyw@mail.gmail.com>
	<3887651.1744086487@sss.pgh.pa.us>
	<CAApHDvpbJrzQC-gZk0XpxMbk5CW=zj+R5KajuhP=Hw7xSdL5VQ@mail.gmail.com>

David Rowley <dgrowleyml@gmail.com> writes:
> I don't think it'd hurt to mention that we're just ignoring the
> existence of ECs for this example.

Seems like a reasonable approach.

> -    (other possibilities will be excluded for lack of join clauses)
> +    (other possibilities will be excluded for lack of join clauses
> +    (technically, EquivalenceClasses do allow us to determine derived join
> +    clauses for this case, but we ignore that for the simplicity of this
> +    example))

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.)

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <111828.1744166032@sss.pgh.pa.us>
Permalink:  ../111828.1744166032@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/111828.1744166032@sss.pgh.pa.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dgrowleyml@gmail.com, ferrishu3886@gmail.com
  Subject: Re: Possible documentation inaccuracy in optimizer README
  In-Reply-To: <111828.1744166032@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox