Re: [HACKERS] Recovery on incomplete write

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Recovery on incomplete write
Дата
Msg-id 642.938529562@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Recovery on incomplete write  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Ответы Re: [HACKERS] Recovery on incomplete write  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> I have wondered that md.c handles incomplete block(page)s
> correctly.
> Am I mistaken ?

I think you are right, and there may be some other trouble spots in that
file too.  I remember thinking that the code depended heavily on never
having a partial block at the end of the file.

But is it worth fixing?  The only way I can see for the file length
to become funny is if we run out of disk space part way through writing
a page, which seems unlikely...

            regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Operator definitions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Recovery on incomplete write