From: | Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Simplify cost_incremental_sort a bit |
Date: | 2020-05-01 23:35:14 |
Message-ID: | E1jUfBa-0006ZJ-Ht@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2020-05-02 03:53:20 | Re: pgsql: Rationalize GetWalRcv{Write,Flush}RecPtr(). |
Previous Message | Tom Lane | 2020-05-01 21:28:24 | pgsql: Get rid of trailing semicolons in C macro definitions. |