[COMMITTERS] pgsql: Fix unportable definition of BSWAP64() macro.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Fix unportable definition of BSWAP64() macro.
Дата
Msg-id E1chMN9-0004Nb-KN@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix unportable definition of BSWAP64() macro.

We have a portable way of writing uint64 constants, but whoever wrote
this macro didn't know about it.

While at it, fix unsafe under-parenthesization of arguments.  That might
be moot, because there are already good reasons not to use the macro on
anything more complicated than a simple variable, but it's still poor
practice.

Per buildfarm warnings.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/41c16edcf6c90d1f42810ea523b7e65c99edad50

Modified Files
--------------
src/include/port/pg_bswap.h | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Make tablesample work with partitioned tables.
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Suppress compiler warnings in ecpg test on newer Windowstoolcha