]> granicus.if.org Git - postgresql/commit
During index build, check and elog (not just Assert) for broken HOT chain.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Mar 2014 16:36:11 +0000 (12:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Mar 2014 16:36:11 +0000 (12:36 -0400)
commitd70cf811f7dd26c07dbb78df4a51b667e7a3489b
tree415d82acb416f4e3cc87b9c8783037d593600a06
parentd663d4399e767223e454302ea90d04f78b2f9d29
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.
src/backend/catalog/index.c