From 24d1b9989134e96f643ba31cd0e379fce5062534 Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Mon, 25 Mar 2024 11:51:44 -0700 Subject: [PATCH] Clarify comment for LogicalTapeSetBlocks(). Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us Backpatch-through: 13 --- src/backend/utils/sort/logtape.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c index edd6025cc9c..5894ad34143 100644 --- 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)