From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add BSWAP64 macro. |
Date: | 2015-10-08 17:05:03 |
Message-ID: | E1ZkEcp-0006XK-PC@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2015-10-08 17:27:09 | pgsql: Fix typo in docs. |
Previous Message | Robert Haas | 2015-10-08 16:33:52 | pgsql: Hyphenate variable-length for consistency. |