pgsql: Replace calls of htonl()/ntohl() with pg_bswap.h for GSSAPI encr

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Replace calls of htonl()/ntohl() with pg_bswap.h for GSSAPI encr
Date: 2020-10-15 08:06:26
Message-ID: E1kSyHK-0007a0-Ke@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Replace calls of htonl()/ntohl() with pg_bswap.h for GSSAPI encryption

The in-core equivalents can make use of built-in functions if the
compiler supports this option, making optimizations possible. 0ba99c8
replaced all existing calls in the code base at this time, but b0b39f7
(GSSAPI encryption) has forgotten to do the switch.

Discussion: https://postgr.es/m/20201014055303.GG3349@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/86dba33217bb0b48fcf59da76912c3382b4418cd

Modified Files
--------------
src/backend/libpq/be-secure-gssapi.c | 8 ++++----
src/interfaces/libpq/fe-secure-gssapi.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2020-10-15 12:51:42 pgsql: Fix query in new test to check tables are synced
Previous Message Fujii Masao 2020-10-15 07:51:57 pgsql: Improve tab-completion for FETCH/MOVE.