Re: Is tuplesort_heap_siftup() a misnomer?
От
Peter Geoghegan
Тема
Re: Is tuplesort_heap_siftup() a misnomer?
Дата
Msg-id
CAM3SWZS+qdfmtMy1ja6DUaZLXdypNXKvbdBf7S1BX0cofC+V2Q@mail.gmail.com
Ответ на
Re: Is tuplesort_heap_siftup() a misnomer? (Tom Lane)
Список
Дерево обсуждения
Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Heikki Linnakangas <hlinnaka@iki.fi>
Re: Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Andres Freund <andres@anarazel.de>
Re: Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Claudio Freire <klaussfreire@gmail.com>
Re: Is tuplesort_heap_siftup() a misnomer? Peter Geoghegan <pg@heroku.com>
Re: Is tuplesort_heap_siftup() a misnomer? Claudio Freire <klaussfreire@gmail.com>
On Thu, Sep 8, 2016 at 10:40 AM, Tom Lane wrote: >> On Thu, Sep 8, 2016 at 12:01 AM, Heikki Linnakangas wrote: >>> I still think tuplesort_heap_siftup is a confusing name, although I'm not >>> sure that Peter's "compact" is much better. I suggest that we rename it to >>> tuplesort_heap_delete_top(). In comments within the function, explain that >>> the *loop* corresponds to the "siftup" in Knuth's book. > >> I'm also fine with that name. > > I can live with it too. Attached patch does it that way, then. I stuck with the reference to "shift down", though, since I think we all agree that that is unambiguous. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата: