pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add checksum helper functions.
Date: Fri, 03 Apr 2020 15:56:44 +0000
Message-ID: <E1jKOgW-0003ln-HC@gemulon.postgresql.org> (raw)

Add checksum helper functions.

These functions make it easier to write code that wants to compute a
checksum for some data while allowing the user to configure the type
of checksum that gets used.

This is another piece of infrastructure for the upcoming patch to add
backup manifests.

Patch written from scratch by me, but it is similar to previous work
by Rushabh Lathia and Suraj Kharage. Suraj also reviewed this version
off-list. Advice on how not to break Windows from Davinder Singh.

Discussion: http://postgr.es/m/CA+TgmoZV8dw1H2bzZ9xkKwdrk8+XYa+DC9H=F7heO2zna5T6qg@mail.gmail.com
Discussion: http://postgr.es/m/CA+TgmoZRTBiPyvQEwV79PU1ePTtSEo2UeVncrkJMbn1sU1gnRA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c12e43a2e0d45a6b59f2cea53f1b82e52fdcff7a

Modified Files
--------------
src/common/Makefile                  |   1 +
src/common/checksum_helper.c         | 190 +++++++++++++++++++++++++++++++++++
src/include/common/checksum_helper.h |  74 ++++++++++++++
src/tools/msvc/Mkvcbuild.pm          |   4 +-
4 files changed, 267 insertions(+), 2 deletions(-)



Message-ID: <E1jKOgW-0003ln-HC@gemulon.postgresql.org>
Permalink:  ../E1jKOgW-0003ln-HC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jKOgW-0003ln-HC@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Add checksum helper functions.
  In-Reply-To: <E1jKOgW-0003ln-HC@gemulon.postgresql.org>
  References: <E1jKOgW-0003ln-HC@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox