Re: Theory about XLogFlush startup failures

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Theory about XLogFlush startup failures
Дата
Msg-id 22510.1011070696@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Theory about XLogFlush startup failures  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Theory about XLogFlush startup failures
Список pgsql-hackers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> Tom Lane wrote:
>> I know PageRepairFragmentation is real paranoid about this, because I
>> made it so recently.  I suppose it might be worth adding some more
>> sanity checks to PageAddItem, maybe PageZero (is that ever called on a
>> pre-existing page?), and PageIndexTupleDelete.  Seems like that should
>> about cover it --- noplace else inserts items on disk pages or
>> reshuffles disk page contents, AFAIK.

> What about PageGetItem ? It seems to be able to touch the item
> via HeapTupleSatisfies etc. 

Hmm.  Strictly speaking I think you are right, but I'm hesitant to add a
bunch of new tests to PageGetItem --- that is much more of a hot spot
than PageAddItem, and it'll cost us something in speed I fear.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: About pg_upgrade
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Theory about XLogFlush startup failures