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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Why we don't have checksums on clog files
Дата
Msg-id CA+TgmoaCsmKfB_Sv0QOMJ2wjPcY7U4N8y=sk=Y3ztxSpoCfJNg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Why we don't have checksums on clog files  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Jun 12, 2016 at 10:54 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Oh.  Well, that makes it harder, then.

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



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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: Rename max_parallel_degree?
Следующее
От: Ants Aasma
Дата:
Сообщение: Re: WIP: Data at rest encryption