postgres.git / summary / log / commit / refs
commit 924954c670355f2a0ca1dd4173574a28fc0eedec
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: Sat Aug 27 11:46:15 2022 +0000
Fix typo in comment for writetuple() function
Reported-by: David Rowley
Discussion: https://postgr.es/m/CAApHDvrZ9Ky2LcWwcKsbdYChA850JE5qS%3DkGJiTNWS8mbBXZHw%40mail.gmail.com
src/backend/utils/sort/tuplesort.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/utils/sort/tuplesort.c b/src/backend/utils/sort/tuplesort.c
index d90a1aebdf0..66950983e68 100644
--- a/src/backend/utils/sort/tuplesort.c
+++ b/src/backend/utils/sort/tuplesort.c
@@ -1340,7 +1340,7 @@ tuplesort_puttuple_common(Tuplesortstate *state, SortTuple *tuple, bool useAbbre
}
/*
- * Write a stored tuple onto tape.tuple. Unless the slab allocator is
+ * Write a stored tuple onto tape. Unless the slab allocator is
* used, after writing the tuple, pfree() the out-of-line data (not the
* SortTuple struct!), and increase state->availMem by the amount of
* memory space thereby released.
[parent: 4eec2e03c34f]