Re: Cache Hash Index meta page.

From: Erik Rijkers <er(at)xs4all(dot)nl>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers-owner(at)postgresql(dot)org
Subject: Re: Cache Hash Index meta page.
Date: 2017-02-07 17:51:42
Message-ID: 1f87acf1ff94a353cc9c664956feef6b@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavan Deolasee 2017-02-07 18:00:50 Re: [COMMITTERS] pgsql: Release note updates.
Previous Message David G. Johnston 2017-02-07 17:46:43 Re: Idea on how to simplify comparing two sets