Re: 16-bit page checksums for 9.2

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: 16-bit page checksums for 9.2
Дата
Msg-id CA+TgmoaLcWCZ2UtO9bt2A0atwxCOQAm6XNhugpwyPLVX4pWzug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 16-bit page checksums for 9.2  (Dan Scales <scales@vmware.com>)
Список pgsql-hackers
On Fri, Jan 27, 2012 at 4:07 PM, Dan Scales <scales@vmware.com> wrote:
> The advantage of putting the checksum calculation in smgrwrite() (or mdwrite()) is that it catches a bunch of page
writesthat don't go through the buffer pool (see calls to smgrwrite() in nbtree.c, nbtsort.c, spginsert.c)
 

Maybe we should have some sort of wrapper function, then.  I really
dislike the idea that the smgr layer knows anything about the page
format, and if md has to know that's even worse.

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


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Simulating Clog Contention
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Group commit, revised