mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +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:
@ -126,8 +126,8 @@ pg_prewarm(PG_FUNCTION_ARGS)
|
||||
if (first_block < 0 || first_block >= nblocks)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("starting block number must be between 0 and " INT64_FORMAT,
|
||||
nblocks - 1)));
|
||||
errmsg("starting block number must be between 0 and %lld",
|
||||
(long long) (nblocks - 1))));
|
||||
}
|
||||
if (PG_ARGISNULL(4))
|
||||
last_block = nblocks - 1;
|
||||
@ -137,8 +137,8 @@ pg_prewarm(PG_FUNCTION_ARGS)
|
||||
if (last_block < 0 || last_block >= nblocks)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("ending block number must be between 0 and " INT64_FORMAT,
|
||||
nblocks - 1)));
|
||||
errmsg("ending block number must be between 0 and %lld",
|
||||
(long long) (nblocks - 1))));
|
||||
}
|
||||
|
||||
/* Now we're ready to do the real work. */
|
||||
|
Reference in New Issue
Block a user