1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-27 00:12:01 +03:00

Re-pgindent brin.c.

Backpatch-through: 13
This commit is contained in:
Nathan Bossart
2025-10-21 09:56:26 -05:00
parent eea24eb0ac
commit e95010a9c0

View File

@@ -535,7 +535,7 @@ bringetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
MemoryContextResetAndDeleteChildren(perRangeCxt); MemoryContextResetAndDeleteChildren(perRangeCxt);
tup = brinGetTupleForHeapBlock(opaque->bo_rmAccess, (BlockNumber ) heapBlk, &buf, tup = brinGetTupleForHeapBlock(opaque->bo_rmAccess, (BlockNumber) heapBlk, &buf,
&off, &size, BUFFER_LOCK_SHARE, &off, &size, BUFFER_LOCK_SHARE,
scan->xs_snapshot); scan->xs_snapshot);
if (tup) if (tup)
@@ -711,7 +711,7 @@ bringetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
/* add the pages in the range to the output bitmap, if needed */ /* add the pages in the range to the output bitmap, if needed */
if (addrange) if (addrange)
{ {
uint64 pageno; uint64 pageno;
for (pageno = heapBlk; for (pageno = heapBlk;
pageno <= Min(nblocks, heapBlk + opaque->bo_pagesPerRange) - 1; pageno <= Min(nblocks, heapBlk + opaque->bo_pagesPerRange) - 1;