From: Alexander Korotkov Date: Thu, 30 Nov 2023 11:45:28 +0000 (+0200) Subject: Fix typo in 5a1dfde8334b X-Git-Tag: REL_17_BETA1~1358 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=ae2ccf66a261caac9701986597e3f29188f890d6;p=postgresql.git Fix typo in 5a1dfde8334b Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/55d8800f-4a80-5256-1e84-246fbe79acd0@gmail.com --- diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c index a91ef0deeaf..064679b951d 100644 --- a/src/backend/access/transam/twophase.c +++ b/src/backend/access/transam/twophase.c @@ -965,7 +965,7 @@ AdjustToFullTransactionId(TransactionId xid) epoch = EpochFromFullTransactionId(nextFullXid); if (unlikely(xid > nextXid)) { - /* Wraparound occured, must be from a prev epoch. */ + /* Wraparound occurred, must be from a prev epoch. */ Assert(epoch > 0); epoch--; }