1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-28 11:55:03 +03:00

Remove use of [U]INT64_FORMAT in some translatable strings

%lld with (long long), or %llu with (unsigned long long) are more
adapted.  This is similar to 3286065.

Author: Kyotaro Horiguchi
Discussion: https://postgr.es/m/20210421.200000.1462448394029407895.horikyota.ntt@gmail.com
This commit is contained in:
Michael Paquier
2021-04-23 13:25:49 +09:00
parent bb684c82f7
commit 62aa2bb293
3 changed files with 18 additions and 19 deletions

View File

@@ -5359,8 +5359,8 @@ parseScriptWeight(const char *option, char **script)
}
if (wtmp > INT_MAX || wtmp < 0)
{
pg_log_fatal("weight specification out of range (0 .. %u): " INT64_FORMAT,
INT_MAX, (int64) wtmp);
pg_log_fatal("weight specification out of range (0 .. %u): %lld",
INT_MAX, (long long) wtmp);
exit(1);
}
weight = wtmp;
@@ -5680,7 +5680,7 @@ set_random_seed(const char *seed)
}
if (seed != NULL)
pg_log_info("setting random seed to " UINT64_FORMAT, iseed);
pg_log_info("setting random seed to %llu", (unsigned long long) iseed);
random_seed = iseed;
/* Fill base_random_sequence with low-order bits of seed */