mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Remove workarounds for avoiding [U]INT64_FORMAT in translatable strings.
Further code simplification along the same lines as d914eb347
and earlier patches.
Aleksander Alekseev, Japin Li
Discussion: https://postgr.es/m/CAJ7c6TMSKi3Xs8h5MP38XOnQQpBLazJvVxVfPn++roitDJcR7g@mail.gmail.com
This commit is contained in:
@@ -113,9 +113,8 @@ TransactionIdInRecentPast(FullTransactionId fxid, TransactionId *extracted_xid)
|
||||
if (!FullTransactionIdPrecedes(fxid, now_fullxid))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("transaction ID %s is in the future",
|
||||
psprintf(UINT64_FORMAT,
|
||||
U64FromFullTransactionId(fxid)))));
|
||||
errmsg("transaction ID %llu is in the future",
|
||||
(unsigned long long) U64FromFullTransactionId(fxid))));
|
||||
|
||||
/*
|
||||
* ShmemVariableCache->oldestClogXid is protected by XactTruncationLock,
|
||||
|
||||
Reference in New Issue
Block a user