Re: [PATCH] Fix Uninitialized scalar variable (UNINIT) (src/backend/access/heap/heapam_handler.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: [PATCH] Fix Uninitialized scalar variable (UNINIT) (src/backend/access/heap/heapam_handler.c)
Date
Msg-id CAEudQApFcxaS7zm2uS=N+=7KJjBG_7T_CN+TW5u8XmiH7bPK7g@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Fix Uninitialized scalar variable (UNINIT) (src/backend/access/heap/heapam_handler.c)  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: [PATCH] Fix Uninitialized scalar variable (UNINIT) (src/backend/access/heap/heapam_handler.c)
Re: [PATCH] Fix Uninitialized scalar variable (UNINIT) (src/backend/access/heap/heapam_handler.c)
List pgsql-hackers
Em ter., 25 de ago. de 2020 às 19:45, Alvaro Herrera <alvherre@2ndquadrant.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?


> The var root_blkno only is checked at line 1853.

That's a different function.
My mistake. Find editor.

regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Fix a couple of misuages of bms_num_members()
Next
From: Bruce Momjian
Date:
Subject: Re: Strange behavior with polygon and NaN