Re: Bug in reindexdb's error reporting

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-05-10T10:24:47Z
Lists: pgsql-hackers
On Fri, May 10, 2019 at 11:02:52AM +0200, Julien Rouhaud wrote:
> I just noticed that reindexdb could report an extraneous message
> saying an error happened while reindexing a database if it failed
> reindexing a table or an index.
> 
> Trivial fix attached.

Oops.  That's true, nice catch.  This is older than 9.4, so it needs
to go all the way down.  Let's fix this.  Do others have any comments?
--
Michael

Commits

  1. Fix error reporting in reindexdb