pgsql: Introduce new page checksum algorithm and module.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Introduce new page checksum algorithm and module.
Дата
Msg-id E1UWj84-0002XV-7n@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Introduce new page checksum algorithm and module.  ("Erikjan Rijkers" <er@xs4all.nl>)
Список pgsql-committers
Introduce new page checksum algorithm and module.
Isolate checksum calculation to its own module, so that bufpage
knows little if anything about the details of the calculation.

This implementation is a modified FNV-1a hash checksum, details
of which are given in the new checksum.c header comments.

Basic implementation only, so we fix the output value.

Later related commits will add version numbers to pg_control,
compiler optimization flags and memory barriers.

Ants Aasma, reviewed by Jeff Davis and Simon Riggs

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/43e7a668499b8a69a62cc539a0fbe6983384339c

Modified Files
--------------
src/backend/storage/page/Makefile   |    2 +-
src/backend/storage/page/bufpage.c  |   36 ++++----
src/backend/storage/page/checksum.c |  160 +++++++++++++++++++++++++++++++++++
src/include/storage/checksum.h      |   23 +++++
4 files changed, 201 insertions(+), 20 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] pgsql: Add sql_drop event for event triggers
Следующее
От: "Erikjan Rijkers"
Дата:
Сообщение: Re: pgsql: Introduce new page checksum algorithm and module.