pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Report progress of CREATE INDEX operations
Date: Tue, 2 Apr 2019 12:00:03 -0700
Message-ID: <20190402190003.esiyxbmnm63jlydd@alap3.anarazel.de> (raw)
In-Reply-To: <20190402184146.GA16653@alvherre.pgsql>
References: <E1hBO4R-00005E-0l@gemulon.postgresql.org>
	<20190402184146.GA16653@alvherre.pgsql>

Hi,

On 2019-04-02 15:41:46 -0300, Alvaro Herrera wrote:
> On 2019-Apr-02, Alvaro Herrera wrote:
> 
> > Report progress of CREATE INDEX operations
> 
> Argh, I pushed an older version of the commit.

Note that longfin complains about something different than the output
files:

https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=longfin&dt=2019-04-02%2018%3A49%3A03

lmgr.c:882:14: error: variable 'count' is used uninitialized whenever '?:' condition is false [-Werror,-Wsometimes-uninitialized]
                                                                                   progress ? &count : NULL));
                                                                                   ^~~~~~~~
lmgr.c:883:12: note: uninitialized use occurs here
                total += count;
                         ^~~~~
lmgr.c:882:14: note: remove the '?:' if its condition is always true
                                                                                   progress ? &count : NULL));
                                                                                   ^~~~~~~~~~~      ~~~~~~~
lmgr.c:878:14: note: initialize the variable 'count' to silence this warning
                int                     count;
                                             ^
                                              = 0
1 error generated.
make[4]: *** [lmgr.o] Error 1
make[4]: *** Waiting for unfinished jobs....

Greetings,

Andres Freund





view thread (5+ messages)  latest in thread

Message-ID: <20190402190003.esiyxbmnm63jlydd@alap3.anarazel.de>
Permalink:  ../20190402190003.esiyxbmnm63jlydd@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20190402190003.esiyxbmnm63jlydd@alap3.anarazel.de

 · 

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-committers@postgresql.org
  Cc: andres@anarazel.de, alvherre@2ndquadrant.com
  Subject: Re: pgsql: Report progress of CREATE INDEX operations
  In-Reply-To: <20190402190003.esiyxbmnm63jlydd@alap3.anarazel.de>
  References: <E1hBO4R-00005E-0l@gemulon.postgresql.org> <20190402184146.GA16653@alvherre.pgsql> <20190402190003.esiyxbmnm63jlydd@alap3.anarazel.de>

* 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