Add an Assert that indexam.c isn't used on an index awaiting reindexing.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d2f60a3ab055fb61c8e1056a7c5652f1dec85e00
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-04-16T23:29:10Z
Releases: 9.1.0
Add an Assert that indexam.c isn't used on an index awaiting reindexing.

This might have caught the recent embarrassment over trying to modify
pg_index while its indexes were being rebuilt.

Noah Misch

Files

PathChange+/−
src/backend/access/index/indexam.c modified +11 −1