From b703f08c805f153cbedd10a82fdd6bba379a9877 Mon Sep 17 00:00:00 2001 From: ChangAo Chen Date: Sat, 6 Dec 2025 22:53:43 +0800 Subject: [PATCH v1] Fix incorrect comments in tuplesort.c. --- src/backend/utils/sort/tuplesort.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/utils/sort/tuplesort.c b/src/backend/utils/sort/tuplesort.c index 5d4411dc33f..85dc83f596b 100644 --- a/src/backend/utils/sort/tuplesort.c +++ b/src/backend/utils/sort/tuplesort.c @@ -112,10 +112,9 @@ /* * Initial size of memtuples array. We're trying to select this size so that - * array doesn't exceed ALLOCSET_SEPARATE_THRESHOLD and so that the overhead of + * array slightly exceed ALLOCSET_SEPARATE_THRESHOLD and so that the overhead of * allocation might possibly be lowered. However, we don't consider array sizes * less than 1024. - * */ #define INITIAL_MEMTUPSIZE Max(1024, \ ALLOCSET_SEPARATE_THRESHOLD / sizeof(SortTuple) + 1) -- 2.52.0