View Single Post

   
  #1 (permalink)  
Old 04-10-2008, 12:11 PM
Rene Gollent
 
Posts: n/a
Default BUG #3707: failure cases in reindex don't always report enough information to diagnose the issue


The following bug has been logged online:

Bug reference: 3707
Logged by: Rene Gollent
Email address: rgollent@asteriasgi.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.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote