pgsql: Remove lo_hton64() and lo_ntoh64().

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove lo_hton64() and lo_ntoh64().
Date: 2026-08-06 18:10:41
Message-ID: E1ws2YD-00000000Ss3-0dKN@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove lo_hton64() and lo_ntoh64().

These functions date back to commit 461ef73f09, which predates the
64-bit byte-swapping routines in pg_bswap.h (added in commit
510b8cbff1). Commit 0ba99c84e8 converted them to use pg_hton32()
and pg_ntoh32() but stopped short of removing them, so let's do
that now.

Discussion: https://postgr.es/m/ahXE28klgxIJXBLq%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5593aca0c62e08f5827d706d03be99481ef9bcb0

Modified Files
--------------
src/interfaces/libpq/fe-lobj.c | 58 +++---------------------------------------
1 file changed, 4 insertions(+), 54 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2026-08-06 21:23:41 pgsql: Restore vacuum failsafe abandonment of buffer access strategy
Previous Message Daniel Gustafsson 2026-08-06 12:11:34 pgsql: doc: Define MXID as an acronym