Clarify comment for LogicalTapeSetBlocks().

Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us
Backpatch-through: 13
REL_15_STABLE
Jeff Davis 1 year ago
parent 0d466bce9e
commit b74e4a08b9
  1. 6
      src/backend/utils/sort/logtape.c

@ -1181,10 +1181,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)

Loading…
Cancel
Save