OSDN Git Service

Add an Assert that indexam.c isn't used on an index awaiting reindexing.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Apr 2011 23:29:10 +0000 (19:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Apr 2011 23:29:10 +0000 (19:29 -0400)
commitd2f60a3ab055fb61c8e1056a7c5652f1dec85e00
tree6c88533d46c1e014e414164c3c27795ace297e15
parent2d3320d3d256eed7ea3deb8383348f2021e6a247
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
src/backend/access/index/indexam.c