Re: zheap: a new storage format for PostgreSQL - Mailing list pgsql-hackers

From Daniel Westermann
Subject Re: zheap: a new storage format for PostgreSQL
Date
Msg-id AM4PR0901MB1346FB51AD1CA33515A06985D2C70@AM4PR0901MB1346.eurprd09.prod.outlook.com
Whole thread Raw
In response to Re: zheap: a new storage format for PostgreSQL  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: zheap: a new storage format for PostgreSQL  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
List pgsql-hackers
>>Thanks. Initializing the variable seems like the right fix here.

... just had a warning when recompiling from the latest sources on CentOS 7:

labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2
-I../../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2   -c -o tpd.o tpd.c 
tpd.c: In function ‘TPDFreePage’:
tpd.c:1003:15: warning: variable ‘curblkno’ set but not used [-Wunused-but-set-variable]
  BlockNumber  curblkno = InvalidBlockNumber;
               ^

Not sure if this is important but as I could not find anything on this thread related to this I thought I'd report it

Regards
Daniel

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: speeding up planning with partitions
Next
From: Peter Eisentraut
Date:
Subject: Re: unused/redundant foreign key code