Re: [PATCHES] wal_checksum = on (default) | off

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] wal_checksum = on (default) | off
Дата
Msg-id 18700.1168532539@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] wal_checksum = on (default) | off  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: [PATCHES] wal_checksum = on (default) | off  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
>> Pretty much not happening; or are you volunteering to fix every part of
>> the system to tolerate injections of inserted data anywhere in a stored
>> datum?

> I was thinking to do it at a low level as the xlog records are prepared to be
> written to the filesystem and as the data is being read from disk. I haven't
> read that code yet to see where to inject it but I understand there's already
> a copy happening and it could be done there.

You understand wrong ... a tuple sitting on disk is normally read
directly from the shared buffer, and I don't think we want to pay for
copying it.

            regards, tom lane

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: [PATCHES] wal_checksum = on (default) | off
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: wal buffers documentation -errata