From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Silence compiler warning in nbtinsert.c.
Date: Wed, 26 Feb 2020 20:07:48 -0300
Message-ID: <20200226230748.GA28775@alvherre.pgsql> (raw)
In-Reply-To: <E1j7451-0003KC-TK@gemulon.postgresql.org>
On 2020-Feb-26, Peter Geoghegan wrote:
> Silence compiler warning in nbtinsert.c.
>
> Per buildfarm member longfin.
I'm seeing another one:
/pgsql/source/master/src/backend/access/nbtree/nbtinsert.c: In function '_bt_insertonpg':
/pgsql/source/master/src/backend/access/nbtree/nbtinsert.c:1231:4: warning: 'oposting' may be used uninitialized in this function [-Wmaybe-uninitialized]
memcpy(oposting, nposting, MAXALIGN(IndexTupleSize(nposting)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@2ndquadrant.com, pg@bowt.ie
Subject: Re: pgsql: Silence compiler warning in nbtinsert.c.
In-Reply-To: <20200226230748.GA28775@alvherre.pgsql>
References: <E1j7451-0003KC-TK@gemulon.postgresql.org> <20200226230748.GA28775@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox