summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Korotkov2022-08-27 11:46:15 +0000
committerAlexander Korotkov2022-08-27 11:46:15 +0000
commit924954c670355f2a0ca1dd4173574a28fc0eedec (patch)
treed946717544c1e92818f49bdaa2d2eaff7730e5cc
parent4eec2e03c34f9a357d86317b1cd05d80a2ab559d (diff)
Fix typo in comment for writetuple() function
Reported-by: David Rowley Discussion: https://postgr.es/m/CAApHDvrZ9Ky2LcWwcKsbdYChA850JE5qS%3DkGJiTNWS8mbBXZHw%40mail.gmail.com
-rw-r--r--src/backend/utils/sort/tuplesort.c2
1 files changed, 1 insertions, 1 deletions
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.