pgsql: Add an Assert that indexam.c isn't used on an index awaiting rei

Started by Tom Laneover 15 years ago1 messagescomitters
Jump to latest
#1Tom 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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d2f60a3ab055fb61c8e1056a7c5652f1dec85e00

Modified Files
--------------
src/backend/access/index/indexam.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)