pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Uninitialized-variable warnings in nbtinsert.c
Date: Sat, 13 Jun 2020 12:56:01 -0400
Message-ID: <845436.1592067361@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH2-WzkF=VqWh1snCbzBEtj6BiHtHJhQbgn4dtU51=wozYhYkQ@mail.gmail.com>
References: <841649.1592065060@sss.pgh.pa.us>
	<CAH2-WzkF=VqWh1snCbzBEtj6BiHtHJhQbgn4dtU51=wozYhYkQ@mail.gmail.com>

Peter Geoghegan <pg@bowt.ie> writes:
> On Sat, Jun 13, 2020 at 9:17 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I scraped the buildfarm's compiler warnings today, as I do from
>> time to time, and I noticed that half a dozen animals that normally
>> don't report any uninitialized-variable warnings are complaining
>> about "curitup" in _bt_doinsert.

> (Clearly you meant _bt_check_unique(), not _bt_doinsert().)

Ah, right.  I was looking at calliphoridae's complaint when I wrote that:

In file included from /home/andres/build/buildfarm-calliphoridae/HEAD/pgsql.build/../pgsql/src/backend/access/nbtree/nbtinsert.c:18:
/home/andres/build/buildfarm-calliphoridae/HEAD/pgsql.build/../pgsql/src/backend/access/nbtree/nbtinsert.c: In function \xe2\x80\x98_bt_doinsert\xe2\x80\x99:

but it must have inlined some stuff first.  (A lot of the other
complainers are fingering inline functions in nbtree.h, which
is even less helpful.)

> Thanks for bringing this to my attention. I'll push a commit that
> initializes curitup shortly, targeting both the v13 branch and the
> master branch.

Thanks!

			regards, tom lane





view thread (3+ messages)

Message-ID: <845436.1592067361@sss.pgh.pa.us>
Permalink:  ../845436.1592067361@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/845436.1592067361@sss.pgh.pa.us

 · 

reply

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@bowt.ie
  Subject: Re: Uninitialized-variable warnings in nbtinsert.c
  In-Reply-To: <845436.1592067361@sss.pgh.pa.us>
  References: <841649.1592065060@sss.pgh.pa.us> <CAH2-WzkF=VqWh1snCbzBEtj6BiHtHJhQbgn4dtU51=wozYhYkQ@mail.gmail.com> <845436.1592067361@sss.pgh.pa.us>

* 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