pgsql: Reset reindex-in-progress state before reverifying an exclusion

Started by Tom Laneabout 15 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Reset reindex-in-progress state before reverifying an exclusion constraint.

This avoids an Assert failure when we try to use ordinary index fetches
while checking for exclusion conflicts. Per report from Noah Misch.

No need for back-patch because the Assert wasn't there before 9.1.

Branch
------
master

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

Modified Files
--------------
src/backend/catalog/index.c | 64 +++++++++++++++++++--------
src/test/regress/input/constraints.source | 3 +
src/test/regress/output/constraints.source | 2 +
3 files changed, 50 insertions(+), 19 deletions(-)