Re: Fix incorrect comments in tuplesort.c

From: cca5507 <cca5507(at)qq(dot)com>
To: David G(dot) Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix incorrect comments in tuplesort.c
Date: 2025-12-07 08:34:29
Message-ID: tencent_A9E3BD1DA8DA6185E21756D5A6A474C9540A@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I find that the initial size of memtuples array must be more than ALLOCSET_SEPARATE_THRESHOLD
is not for lower overhead of allocation, but for a bug fixed in 8ea3e7a75c0d22c41c57f59c8b367059b97d0b66.

Attach a new patch.

--
Regards,
ChangAo Chen

Attachment Content-Type Size
v2-0001-Fix-incorrect-comments-in-tuplesort.c.patch application/octet-stream 1.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2025-12-07 10:25:08 Re: Add a property to automatically suspend portals as they produce given number of bytes
Previous Message Kirill Reshke 2025-12-07 07:34:22 Re: WIP - xmlvalidate implementation from TODO list