nbtpage.c:356 Expression 'metad->btm_root != P_NONE' is always false. - Mailing list pgsql-hackers

From Антон Пацев
Subject nbtpage.c:356 Expression 'metad->btm_root != P_NONE' is always false.
Date
Msg-id CAOx4deojaPzpUo__yS-yV2mDeX_F5qvGfaf7r42ugx2TkZHfNQ@mail.gmail.com
Whole thread Raw
Responses Re: nbtpage.c:356 Expression 'metad->btm_root != P_NONE' is always false.
List pgsql-hackers
Hello!
I am trying to help for Project PostgreSQL. Check source code PostgreSQL by PVS-Studio.
PVS-Studio have many issue, but some issue is interesting.
nbtpage.c:356HighV547Expression 'metad->btm_root != 0' is always false.
Source file src/backend/access/nbtree/nbtpage.c

pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Use standard SIGHUP and SIGTERM handlers in autoprewarm module
Next
From: Tom Lane
Date:
Subject: Re: nbtpage.c:356 Expression 'metad->btm_root != P_NONE' is always false.