git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ff01b2)
Clarify comment for LogicalTapeSetBlocks().
2024年3月25日 18:51:44 +0000 (11:51 -0700)
2024年3月25日 18:51:44 +0000 (11:51 -0700)
Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us
Backpatch-through: 13


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)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /