Re: Use of "long" in incremental sort code

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: Use of "long" in incremental sort code
Дата
Msg-id 20201021210005.lgod7wnuzvpo4wxo@development
обсуждение исходный текст
Ответ на RE: Use of "long" in incremental sort code  ("Tang, Haiying" <tanghy.fnst@cn.fujitsu.com>)
Ответы Re: Use of "long" in incremental sort code  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
On Wed, Oct 21, 2020 at 06:06:52AM +0000, Tang, Haiying wrote:
>Hi
>
>>Found one more place needed to be changed(long -> int64).
>>
>>Also changed the output for int64 data(Debug mode on & define EXEC_SORTDEBUG )
>>
>>And, maybe there's a typo in " src\backend\executor\nodeIncrementalSort.c" as below.
>>Obviously, the ">=" is meaningless, right?
>>
>>And, maybe there's a typo in " src\backend\executor\nodeIncrementalSort.c" as below.
>>Obviously, the ">=" is meaningless, right?
>>
>>-        SO1_printf("Sorting presorted prefix tuplesort with >= %ld tuples\n", nTuples);
>>+        SO1_printf("Sorting presorted prefix tuplesort with %ld tuples\n", nTuples);
>>
>>Please take a check at the attached patch file.
>
>I have added it to commit fest.
>https://commitfest.postgresql.org/30/2772/
>

Thanks, the changes seem fine to me. I'll do a bit more review and get
it pushed.


regards
Tomas



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mark Dilger
Дата:
Сообщение: Re: new heapcheck contrib module
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [PATCH] Add section headings to index types doc