Bug in reindexdb's error reporting

Julien Rouhaud <rjuju123@gmail.com>

From: Julien Rouhaud <rjuju123@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-05-10T09:02:52Z
Lists: pgsql-hackers

Attachments

Hi,

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.

Commits

  1. Fix error reporting in reindexdb