Re: Why we don't have checksums on clog files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why we don't have checksums on clog files
Дата
Msg-id 21784.1465786494@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why we don't have checksums on clog files  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Why we don't have checksums on clog files  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jun 7, 2016 at 10:41 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>> I think it will be better if users can have an option to checksum clog
>> pages.  However, I think that will need a change in page (CLOG-page) format
>> which might not be a trivial work to accomplish.

> Doesn't the pd_checksum field exist on SLRU pages also?

Uh, no.

(I don't think that's an inherent property of slru.c, but definitely
clog.c packs the pages totally fully of xact status bits.  See
CLOG_XACTS_PER_PAGE.)
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Why we don't have checksums on clog files
Следующее
От: Thomas Munro
Дата:
Сообщение: ERROR: ORDER/GROUP BY expression not found in targetlist