Assert that pre/post-fix updated tuples are on the same page during replay.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 1460b199e6e748712253fa130d1c3368ba6ac861
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2014-05-05T13:15:25Z
Releases: 9.4.0
Assert that pre/post-fix updated tuples are on the same page during replay.

If they were not 'oldtup.t_data' would be dereferenced while set to NULL
in case of a full page image for block 0.

Do so primarily to silence coverity; but also to make sure this prerequisite
isn't changed without adapting the replay routine as that would appear to
work in many cases.

Andres Freund

Files

PathChange+/−
src/backend/access/heap/heapam.c modified +2 −0