mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
Re-pgindent brin.c.
Backpatch-through: 13
This commit is contained in:
parent
b7cc6474e9
commit
e94a7afe44
|
|
@ -749,7 +749,7 @@ bringetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
|
||||||
|
|
||||||
MemoryContextReset(perRangeCxt);
|
MemoryContextReset(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);
|
||||||
if (tup)
|
if (tup)
|
||||||
{
|
{
|
||||||
|
|
@ -924,7 +924,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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user