Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.
Дата
Msg-id BANLkTin44Ur6sWMYVsGoSz-w_yJbOf5Dkw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, Jun 22, 2011 at 6:55 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> On 22.06.2011 06:05, Robert Haas wrote:
>>
>> Second, when inserting, updating, or deleting
>> a tuple, we can no longer get away with clearing the visibility map
>> bit after releasing the lock on the corresponding heap page, because
>> an intervening crash might leave the visibility map bit set and the
>> page-level bit clear.
>
> heap_update seems to still do that.

Aw, crap.  I'll take another look.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Indication of db-shared tables
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: Re: smallserial / serial2