mirror of
https://github.com/postgres/postgres.git
synced 2026-01-27 21:43:08 +03:00
Remove INT64_HEX_FORMAT and UINT64_HEX_FORMAT
These were introduced (commitefdc7d7475) at the same time as we were moving to using the standard inttypes.h format macros (commita0ed19e0a9). 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. (Also, INT64_HEX_FORMAT was kind of a misnomer, since hex formats all use unsigned types.) Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> Reviewed-by: Thomas Munro <thomas.munro@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/0ac47b5d-e5ab-4cac-98a7-bdee0e2831e4%40eisentraut.org
This commit is contained in:
@@ -530,8 +530,6 @@ typedef uint32 bits32; /* >= 32 bits */
|
||||
/* snprintf format strings to use for 64-bit integers */
|
||||
#define INT64_FORMAT "%" PRId64
|
||||
#define UINT64_FORMAT "%" PRIu64
|
||||
#define INT64_HEX_FORMAT "%" PRIx64
|
||||
#define UINT64_HEX_FORMAT "%" PRIx64
|
||||
|
||||
/*
|
||||
* 128-bit signed and unsigned integers
|
||||
|
||||
Reference in New Issue
Block a user