pgsql: During index build, check and elog (not just Assert) for broken

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: During index build, check and elog (not just Assert) for broken
Date: 2014-03-17 16:36:29
Message-ID: E1WPaWb-0008MY-6q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

During index build, check and elog (not just Assert) for broken HOT chain.

The recently-fixed bug in WAL replay could result in not finding a parent
tuple for a heap-only tuple. The existing code would either Assert or
generate an invalid index entry, neither of which is desirable. Throw a
regular error instead.

Branch
------
REL9_3_STABLE

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

Modified Files
--------------
src/backend/catalog/index.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2014-03-17 16:41:53 Re: pgsql: During index build, check and elog (not just Assert) for broken
Previous Message Heikki Linnakangas 2014-03-17 15:30:13 pgsql: Fix thinko: have trueTriConsistentFn return GIN_TRUE.