1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-29 13:56:47 +03:00

Clarify comment for LogicalTapeSetBlocks().

Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us
Backpatch-through: 13
This commit is contained in:
Jeff Davis 2024-03-25 11:51:44 -07:00
parent 4e8529da48
commit 24d1b99891

View File

@ -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)