On 2020-Aug-25, Ranier Vilela wrote:
> Em ter., 25 de ago. de 2020 às 19:45, Alvaro Herrera <
> alvherre(at)2ndquadrant(dot)com> escreveu:
>
> > On 2020-Aug-25, Ranier Vilela wrote:
> >
> > > If the variable hscan->rs_cblock is InvalidBlockNumber the test can
> > > protect root_offsets fail.
> >
> > When does that happen?
>
> At first pass into the while loop?
> hscan->rs_cblock is InvalidBlockNumber, what happens?
No, it is set when the page is read.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services