projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8529d
)
Clarify comment for LogicalTapeSetBlocks().
author
Jeff Davis
<jdavis@postgresql.org>
Mon, 25 Mar 2024 18:51:44 +0000
(11:51 -0700)
committer
Jeff Davis
<jdavis@postgresql.org>
Mon, 25 Mar 2024 19:00:54 +0000
(12:00 -0700)
Discussion: https://postgr.es/m/
1229327
.
1711160246
@sss.pgh.pa.us
Backpatch-through: 13
src/backend/utils/sort/logtape.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/sort/logtape.c
b/src/backend/utils/sort/logtape.c
index edd6025cc9cbff6fdc99a545baab4c95ea1048c2..5894ad34143b492e39c2b56e6535f87d3ea3aaba 100644
(file)
--- a/
src/backend/utils/sort/logtape.c
+++ b/
src/backend/utils/sort/logtape.c
@@
-1263,10
+1263,8
@@
LogicalTapeTell(LogicalTapeSet *lts, int tapenum,
}
/*
- * Obtain total disk space currently used by a LogicalTapeSet, in blocks.
- *
- * This should not be called while there are open write buffers; otherwise it
- * may not account for buffered data.
+ * Obtain total disk space currently used by a LogicalTapeSet, in blocks. Does
+ * not account for open write buffer, if any.
*/
long
LogicalTapeSetBlocks(LogicalTapeSet *lts)