Re: [HACKERS] Cache Hash Index meta page. - Mailing list pgsql-hackers

From Erik Rijkers
Subject Re: [HACKERS] Cache Hash Index meta page.
Date
Msg-id 1f87acf1ff94a353cc9c664956feef6b@xs4all.nl
Whole thread Raw
In response to Re: [HACKERS] Cache Hash Index meta page.  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] Cache Hash Index meta page.  (Mithun Cy <mithun.cy@enterprisedb.com>)
List pgsql-hackers
On 2017-02-07 18:41, Robert Haas wrote:
> Committed with some changes (which I noted in the commit message).

This has caused a warning with gcc 6.20:

hashpage.c: In function ‘_hash_getcachedmetap’:
hashpage.c:1245:20: warning: ‘cache’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]    rel->rd_amcache = cache;    ~~~~~~~~~~~~~~~~^~~~~~~

which hopefully can be prevented...

thanks,

Erik Rijkers









pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [HACKERS] Idea on how to simplify comparing two sets
Next
From: Pavan Deolasee
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Release note updates.