From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify cost_incremental_sort a bit
Date: Fri, 01 May 2020 23:35:14 +0000
Message-ID: <E1jUfBa-0006ZJ-Ht@gemulon.postgresql.org> (raw)
Simplify cost_incremental_sort a bit
Commit de0dc1a847 added code to cost_incremental_sort to handle varno 0.
Explicitly removing the RelabelType is not really necessary, because the
pull_varnos handles that just fine, which simplifies the code a bit.
Author: Richard Guo
Discussion: https://postgr.es/m/CAMbWs4_3_D2J5XxOuw68hvn0-gJsw9FXNSGcZka9aTymn9UJ8A%40mail.gmail.com
Discussion: https://postgr.es/m/20200411214639.GK2228%40telsasoft.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/60fbb4d762506c352c1af1229288a0753742cd95
Modified Files
--------------
src/backend/optimizer/path/costsize.c | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tomas.vondra@postgresql.org
Subject: Re: pgsql: Simplify cost_incremental_sort a bit
In-Reply-To: <E1jUfBa-0006ZJ-Ht@gemulon.postgresql.org>
References: <E1jUfBa-0006ZJ-Ht@gemulon.postgresql.org>
* 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