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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Assert that pre/post-fix updated tuples are on the same page dur
Дата
Msg-id E1WhIrd-0008HT-Vp@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Pass sensible value to memset() when randomizing reorderbuffer's
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql: Add missing 9.4 release file.