Re: Fix incorrect comments in tuplesort.c

cca5507 <cca5507@qq.com>

From: cca5507 <cca5507@qq.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Chao Li <li.evan.chao@gmail.com>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-07T08:34:29Z
Lists: pgsql-hackers

Attachments

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