pgsql: Assert that pre/post-fix updated tuples are on the same page dur - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Assert that pre/post-fix updated tuples are on the same page dur
Date
Msg-id E1WhIrd-0008HT-Vp@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1460b199e6e748712253fa130d1c3368ba6ac861

Modified Files
--------------
src/backend/access/heap/heapam.c |    2 ++
1 file changed, 2 insertions(+)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Pass sensible value to memset() when randomizing reorderbuffer's
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql: Add missing 9.4 release file.