Outdated comments in AssignTransactionId?

From: Japin Li <japinli(at)hotmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Outdated comments in AssignTransactionId?
Date: 2022-10-25 03:36:48
Message-ID: MEYP282MB1669F1154D12464D399C5FDBB6319@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


The AssignTransactionId has the following comments:

/*
* ensure this test matches similar one in
* RecoverPreparedTransactions()
*/
if (nUnreportedXids >= PGPROC_MAX_CACHED_SUBXIDS ||
log_unknown_top)
{
...
}

However, RecoverPreparedTransactions removes this reference in 49e9281549.
Attached remove this reference in AssignTransactionId.

--
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.

Attachment Content-Type Size
remove-outdated-comment-in-AssignTransactionId.patch text/x-diff 545 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2022-10-25 03:43:43 Re: GUC values - recommended way to declare the C variables?
Previous Message vignesh C 2022-10-25 03:18:11 Re: Improve tab completion for ALTER STATISTICS