}
}
else
- block = scan->rs_startblock; /* first page */
+ block = scan->rs_startblock; /* first page */
heapgetpage((TableScanDesc) scan, block);
lineoff = FirstOffsetNumber; /* first offnum */
scan->rs_inited = true;
else
{
/* continue from previously returned page/tuple */
- block = scan->rs_cblock; /* current page */
+ block = scan->rs_cblock; /* current page */
lineoff = /* next offnum */
OffsetNumberNext(ItemPointerGetOffsetNumber(&(tuple->t_self)));
}
else
{
/* continue from previously returned page/tuple */
- block = scan->rs_cblock; /* current page */
+ block = scan->rs_cblock; /* current page */
}
LockBuffer(scan->rs_cbuf, BUFFER_LOCK_SHARE);
scan->rs_parallelworkerdata;
block = table_block_parallelscan_nextpage(scan->rs_base.rs_rd,
- pbscanwork, pbscan);
+ pbscanwork, pbscan);
finished = (block == InvalidBlockNumber);
}
else
}
}
else
- block = scan->rs_startblock; /* first page */
+ block = scan->rs_startblock; /* first page */
heapgetpage((TableScanDesc) scan, block);
lineindex = 0;
scan->rs_inited = true;
else
{
/* continue from previously returned page/tuple */
- block = scan->rs_cblock; /* current page */
+ block = scan->rs_cblock; /* current page */
lineindex = scan->rs_cindex + 1;
}
else
{
/* continue from previously returned page/tuple */
- block = scan->rs_cblock; /* current page */
+ block = scan->rs_cblock; /* current page */
}
page = BufferGetPage(scan->rs_cbuf);
scan->rs_parallelworkerdata;
block = table_block_parallelscan_nextpage(scan->rs_base.rs_rd,
- pbscanwork, pbscan);
+ pbscanwork, pbscan);
finished = (block == InvalidBlockNumber);
}
else
tp.t_self = *tid;
l1:
+
/*
* If we didn't pin the visibility map page and the page has become all
* visible while we were busy locking the buffer, we'll have to unlock and