Restore REINDEX constraint validation.

Noah Misch <noah@leadboat.com>

Commit: ed33ad39a2f353acc3d38591a749f324de3b6c23
Author: Noah Misch <noah@leadboat.com>
Date: 2013-07-30T23:41:53Z
Releases: 9.1.10
Restore REINDEX constraint validation.

Refactoring as part of commit 8ceb24568054232696dddc1166a8563bc78c900a
had the unintended effect of making REINDEX TABLE and REINDEX DATABASE
no longer validate constraints enforced by the indexes in question;
REINDEX INDEX still did so.  Indexes marked invalid remained so, and
constraint violations arising from data corruption went undetected.
Back-patch to 9.0, like the causative commit.

Files