Re: nbtpage.c:356 Expression 'metad->btm_root != P_NONE' is always false.

2020-10-06 Thread Tom Lane
=?UTF-8?B?0JDQvdGC0L7QvSDQn9Cw0YbQtdCy?= writes: > 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:356 *High* V547 >

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

2020-10-06 Thread Антон Пацев
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:356 *High* V547 Expression 'metad->btm_root != 0