diff options
author | Jeff Davis <jdavis@postgresql.org> | 2024-03-25 11:51:44 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2024-03-25 12:00:30 -0700 |
commit | 022068ea2c60fd0b1ec9b9be5d1cc680b640335c (patch) | |
tree | eb3d2b21e8e2d60988a0cc95431ce792cafbbd6f | |
parent | d82dc79ba03c783fa41be768c1bf13cb8200a340 (diff) | |
download | postgresql-022068ea2c60fd0b1ec9b9be5d1cc680b640335c.tar.gz postgresql-022068ea2c60fd0b1ec9b9be5d1cc680b640335c.zip |
Clarify comment for LogicalTapeSetBlocks().
Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us
Backpatch-through: 13
-rw-r--r-- | src/backend/utils/sort/logtape.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c index f31878bdee1..14375b0796b 100644 --- a/src/backend/utils/sort/logtape.c +++ b/src/backend/utils/sort/logtape.c @@ -1174,10 +1174,8 @@ LogicalTapeTell(LogicalTape *lt, long *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. */ long LogicalTapeSetBlocks(LogicalTapeSet *lts) |