Re: Remove INT64_HEX_FORMAT and UINT64_HEX_FORMAT

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-08-02T18:25:30Z
Lists: pgsql-hackers
On Sat, Aug 02, 2025 at 11:09:16AM +0200, Peter Eisentraut wrote:
> These were introduced (commit efdc7d74753) at the same time as we were
> moving to using the standard inttypes.h format macros (commit a0ed19e0a9e).
> It doesn't seem useful to keep a new already-deprecated interface like this
> with only a few users, so remove the new symbols again and have the callers
> use PRIx64.

That seems fine to me.

-- 
nathan



Commits

  1. Remove INT64_HEX_FORMAT and UINT64_HEX_FORMAT

  2. Use PRI?64 instead of "ll?" in format strings (continued).

  3. Add INT64_HEX_FORMAT and UINT64_HEX_FORMAT to c.h.