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

From Tom Lane
Subject pgsql: Reset reindex-in-progress state before reverifying an exclusion
Date
Msg-id E1QTPbM-0000CD-IJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Allow building with perl 5.14.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Make decompilation of optimized CASE constructs more robust.