Обсуждение: pgsql: Assert that pre/post-fix updated tuples are on the same page dur

Поиск
Список
Период
Сортировка

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

От
Heikki Linnakangas
Дата:
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(+)