Add an Assert that indexam.c isn't used on an index awaiting reindexing.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/index/indexam.c | modified | +11 −1 |