Fix comment from commit 22655aa231.

Per automated complaint from BF animal koel this needed to be
re-indented, but there was also a typo.  Back-patch to 16.
pull/145/head
Thomas Munro 2 years ago
parent e83d1b0c40
commit 01529c7040
  1. 8
      src/backend/access/heap/heapam.c

@ -1794,10 +1794,10 @@ ReleaseBulkInsertStatePin(BulkInsertState bistate)
bistate->current_buf = InvalidBuffer;
/*
* Despite the name, we also reset bulk relation extension
* state. Otherwise we can end up erroring out due to looking for free
* space in ->next_free of one partition, even though ->next_free was set
* when extending another partition. It's obviously also could be bad for
* Despite the name, we also reset bulk relation extension state.
* Otherwise we can end up erroring out due to looking for free space in
* ->next_free of one partition, even though ->next_free was set when
* extending another partition. It could obviously also be bad for
* efficiency to look at existing blocks at offsets from another
* partition, even if we don't error out.
*/

Loading…
Cancel
Save