BUG #3707: failure cases in reindex don't always report enough information to diagnose the issue

From: "Rene Gollent" <rgollent(at)asteriasgi(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3707: failure cases in reindex don't always report enough information to diagnose the issue
Date: 2007-10-29 19:51:48
Message-ID: 200710291951.l9TJpmgo083445@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3707
Logged by: Rene Gollent
Email address: rgollent(at)asteriasgi(dot)com
PostgreSQL version: 8.1.4
Operating system: Linux (Gentoo)
Description: failure cases in reindex don't always report enough
information to diagnose the issue
Details:

If you issue a REINDEX DATABASE, which then fails due to db corruption (i.e.
could not create index due to duplicate values), the resulting error message
only specifies:
ERROR: could not create unique index
DETAIL: Table contains duplicated values.

without telling you what table actually triggered the error. It *can* be
tracked down by manually looking up the oid of the last table that was
successfully indexed and manually iterating from there, but it'd be nice to
know directly.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-10-29 20:49:49 Re: BUG #3707: failure cases in reindex don't always report enough information to diagnose the issue
Previous Message Tom Lane 2007-10-29 19:02:43 Re: Possible planner bug/regression introduced in 8.2.5