postgres.git / summary / log / commit / refs

commit    abcea19abf3bd9dfbb4d4b9571ee7a522eb52893
Author:   Jeff Davis <jdavis@postgresql.org>
Date:     Mon Mar 25 18:51:44 2024 +0000
First released in: 17.0, 13.15, 14.12, 15.7, 16.3

    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 95b174fc7e8..30238764d0c 100644 --- a/src/backend/utils/sort/logtape.c +++ b/src/backend/utils/sort/logtape.c @@ -1261,10 +1261,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) [parent: 5cc1f2626369]