Re: assertion failure 9.3.4

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: assertion failure 9.3.4
Дата
Msg-id 20140423170314.GN25695@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: assertion failure 9.3.4  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: assertion failure 9.3.4  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera wrote:

> I'm thinking about the comparison of full infomask as you propose
> instead of just the bits that we actually care about.   I think the only
> thing that could cause a spurious failure (causing an extra execution of
> the HeapTupleSatisfiesUpdate call and the stuff below) is somebody
> setting HEAP_XMIN_COMMITTED concurrently; but that seems infrequent
> enough that it should pretty harmless.  However, should we worry about
> possible future infomask bit changes that could negatively affect this
> behavior?

Here's a complete patch illustrating what I mean.  This is slightly more
expensive than straight infomask comparison in terms of machine
instructions, but that seems okay to me.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: Review: ECPG FETCH readahead
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: 9.4 Proposal: Initdb creates a single table