From: | Xing Guo <higuoxing(at)gmail(dot)com> |
---|---|
To: | Richard Guo <guofenglinux(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: [PATCH] Simple code cleanup in tuplesort.c. |
Date: | 2022-09-30 15:32:10 |
Message-ID: | CACpMh+DnkG_jS=O=EjoCKDx6hnE2x5X-fY7fn2Hvhkh1tMRFxw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Richard,
Sorry for not responding for a long time, I missed the previous email
by accident :-)
I attached a newer patch based on your suggestions and created an
entry in cf manager.
https://commitfest.postgresql.org/40/3924/
Best Regards,
Xing Guo
On 9/16/22, Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> On Wed, Jul 27, 2022 at 5:10 PM Xing Guo <higuoxing(at)gmail(dot)com> wrote:
>
>> The bounded heap sorting status flag is set twice in sort_bounded_heap()
>> and tuplesort_performsort(). This patch helps remove one of them.
>>
>
> Revisiting this patch I think maybe it's better to remove the setting of
> Tuplesort status from tuplesort_performsort() for the TSS_BOUNDED case.
> Thus we keep the heap manipulation routines, make_bounded_heap and
> sort_bounded_heap, consistent in that they update their status
> accordingly inside the function.
>
> Also, would you please add it to the CF to not lose track of it?
>
> Thanks
> Richard
>
--
Best Regards,
Xing
Attachment | Content-Type | Size |
---|---|---|
remove-redundant-logic.patch | text/x-patch | 438 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2022-09-30 15:43:18 | Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql |
Previous Message | Junwang Zhao | 2022-09-30 15:21:22 | [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql |