Обсуждение: pgsql: Add BSWAP64 macro.

Поиск
Список
Период
Сортировка

pgsql: Add BSWAP64 macro.

От
Robert Haas
Дата:
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(-)