Re: 16-bit page checksums for 9.2

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: 16-bit page checksums for 9.2
Дата
Msg-id CA+TgmoYFk8eHs+AnDbE4hd3RDHTeVOta0R0upmEK7ay3D-ye-Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 16-bit page checksums for 9.2  (Dan Scales <scales@vmware.com>)
Ответы Re: 16-bit page checksums for 9.2  (Dan Scales <scales@vmware.com>)
Список pgsql-hackers
On Thu, Jan 26, 2012 at 7:01 PM, Dan Scales <scales@vmware.com> wrote:
> I'm not sure why you moved the checksum calculation (PageSetVerificationInfo) to mdwrite() rather than smgrwrite().
 Ifthere were every another storage backend, it would have to duplicate the checksum check, right?  Is there a
disadvantageto putting it in smgrwrite()? 

The smgr and md layers don't currently know anything about the page
format, and I imagine we want to keep it that way.  It seems like the
right place for this is in some higher layer, like bufmgr.

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


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: patch: ALTER TABLE IF EXISTS
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Group commit, revised