pgsql: Add BSWAP64 macro. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Add BSWAP64 macro.
Date
Msg-id E1ZkEcp-0006XK-PC@gemulon.postgresql.org
Whole thread Raw
List pgsql-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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Hyphenate variable-length for consistency.
Next
From: Robert Haas
Date:
Subject: pgsql: Fix typo in docs.