Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff01b2
)
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 18:51:44 +0000
(11:51 -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 9496ec3d3e8dfbb58f59d9485dfba40edea6c101..44b30e86adf470dd5a244a8567214b6b4873cc23 100644
(file)
--- a/
src/backend/utils/sort/logtape.c
+++ b/
src/backend/utils/sort/logtape.c
@@
-1174,10
+1174,8
@@
LogicalTapeTell(LogicalTape *lt, int64 *blocknum, int *offset)
}
/*
- * 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.
*/
int64
LogicalTapeSetBlocks(LogicalTapeSet *lts)