pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add BSWAP64 macro.
Date: Thu, 08 Oct 2015 17:05:03 +0000
Message-ID: <E1ZkEcp-0006XK-PC@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add BSWAP64 macro.

This is like BSWAP32, but for 64-bit values.  Since we've got two of
them now and they have use cases (like sortsupport) beyond CRCs, move
the definitions to their own header file.

Peter Geoghegan

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c171818b275b9dbd6a1f1cf1666e9e72237f75e6

Modified Files
--------------
config/c-compiler.m4          |   18 ++++++++++++++++
configure                     |   24 +++++++++++++++++++++
configure.in                  |    1 +
src/include/pg_config.h.in    |    3 +++
src/include/pg_config.h.win32 |    3 +++
src/include/port/pg_bswap.h   |   46 +++++++++++++++++++++++++++++++++++++++++
src/include/port/pg_crc32c.h  |   12 ++---------
7 files changed, 97 insertions(+), 10 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: <E1ZkEcp-0006XK-PC@gemulon.postgresql.org>
Permalink:  ../E1ZkEcp-0006XK-PC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZkEcp-0006XK-PC@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 BSWAP64 macro.
  In-Reply-To: <E1ZkEcp-0006XK-PC@gemulon.postgresql.org>
  References: <E1ZkEcp-0006XK-PC@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