From: Zhang Mingli <zmlpostgres@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Reducing duplicativeness of EquivalenceClass-derived clauses
Date: Thu, 27 Oct 2022 21:37:04 +0800
Message-ID: <d3b254ff-adc1-4264-a9f3-c40be30d53eb@Spark> (raw)
In-Reply-To: <644164.1666877342@sss.pgh.pa.us>
References: <78062.1666735746@sss.pgh.pa.us>
<2faecd55-6786-471c-84ac-36aa7149abee@Spark>
<644164.1666877342@sss.pgh.pa.us>
Hi,
On Oct 27, 2022, 21:29 +0800, Tom Lane <tgl@sss.pgh.pa.us>, wrote:
> Zhang Mingli <zmlpostgres@gmail.com> writes:
> > How about combine ec->ec_sources and ec->derives as one list for less codes?
>
> Keeping them separate is required for the broken-EC code paths.
> Even if it weren't, I wouldn't merge them just to save a couple
> of lines of code --- I think it's useful to be able to tell which
> clauses the EC started from.
>
> regards, tom lane
Got it, thanks.
Regards,
Zhang Mingli
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-hackers@postgresql.org
Cc: zmlpostgres@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org
Subject: Re: Reducing duplicativeness of EquivalenceClass-derived clauses
In-Reply-To: <d3b254ff-adc1-4264-a9f3-c40be30d53eb@Spark>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox