agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove lo_hton64() and lo_ntoh64().
Date: Thu, 06 Aug 2026 18:10:41 +0000
Message-ID: <E1ws2YD-00000000Ss3-0dKN@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ws2YD-00000000Ss3-0dKN@gemulon.postgresql.org>
Permalink:  ../E1ws2YD-00000000Ss3-0dKN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ws2YD-00000000Ss3-0dKN@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove lo_hton64() and lo_ntoh64().
  In-Reply-To: <E1ws2YD-00000000Ss3-0dKN@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox