pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Reorganize our CRC source files again.
Date: Tue, 14 Apr 2015 14:09:28 +0000
Message-ID: <E1Yi1Wq-0000tL-Kf@gemulon.postgresql.org> (raw )
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Reorganize our CRC source files again.
Now that we use CRC-32C in WAL and the control file, the "traditional" and
"legacy" CRC-32 variants are not used in any frontend programs anymore.
Move the code for those back from src/common to src/backend/utils/hash.
Also move the slicing-by-8 implementation (back) to src/port. This is in
preparation for next patch that will add another implementation that uses
Intel SSE 4.2 instructions to calculate CRC-32C, where available.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/4f700bcd20c087f60346cb8aefd0e269be8e2157
Modified Files
--------------
contrib/hstore/hstore_gist.c | 2 +-
contrib/ltree/crc32.c | 2 +-
contrib/pg_trgm/trgm_op.c | 1 +
src/backend/access/transam/twophase.c | 24 +-
src/backend/access/transam/xlog.c | 6 +-
src/backend/access/transam/xloginsert.c | 2 +-
src/backend/access/transam/xlogreader.c | 2 +-
src/backend/replication/logical/snapbuild.c | 4 +-
src/backend/replication/slot.c | 4 +-
src/backend/utils/adt/tsgistidx.c | 1 +
src/backend/utils/adt/tsquery.c | 2 +-
src/backend/utils/cache/relmapper.c | 4 +-
src/backend/utils/hash/Makefile | 2 +-
src/backend/utils/hash/pg_crc.c | 97 +++
src/bin/pg_controldata/pg_controldata.c | 2 +-
src/bin/pg_resetxlog/pg_resetxlog.c | 4 +-
src/bin/pg_rewind/pg_rewind.c | 2 +-
src/common/Makefile | 2 +-
src/common/pg_crc.c | 1252 ---------------------------
src/include/access/xlogrecord.h | 6 +-
src/include/catalog/pg_control.h | 4 +-
src/include/common/pg_crc.h | 142 ---
src/include/port/pg_crc32c.h | 49 ++
src/include/utils/pg_crc.h | 107 +++
src/port/Makefile | 2 +-
src/port/pg_crc32c_sb8.c | 1169 +++++++++++++++++++++++++
src/tools/msvc/Mkvcbuild.pm | 4 +-
27 files changed, 1464 insertions(+), 1434 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Message-ID: <E1Yi1Wq-0000tL-Kf@gemulon.postgresql.org>
Permalink: ../E1Yi1Wq-0000tL-Kf@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1Yi1Wq-0000tL-Kf@gemulon.postgresql.org
copy link · copy postgr.es
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: heikki.linnakangas@iki.fi
Subject: Re: pgsql: Reorganize our CRC source files again.
In-Reply-To: <E1Yi1Wq-0000tL-Kf@gemulon.postgresql.org>
References: <E1Yi1Wq-0000tL-Kf@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