Re: SUBTRANS: Minimizing calls to SubTransSetParent() - Mailing list pgsql-hackers

From Japin Li
Subject Re: SUBTRANS: Minimizing calls to SubTransSetParent()
Date
Msg-id MEYP282MB1669BB462812F428CB7D4A9FB6049@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: SUBTRANS: Minimizing calls to SubTransSetParent()  (Simon Riggs <simon.riggs@enterprisedb.com>)
List pgsql-hackers
On Tue, 15 Nov 2022 at 17:34, Simon Riggs <simon.riggs@enterprisedb.com> wrote:
> On Mon, 7 Nov 2022 at 21:14, Simon Riggs <simon.riggs@enterprisedb.com> wrote:
>
>> These results are compelling, thank you.
>>
>> Setting this to Ready for Committer.
>
> New version attached.

Take a quick look, I think it should be PGPROC instead of PG_PROC, right?

+         * 1. When there's no room in PG_PROC, as mentioned above.
+         *    During XactLockTableWait() we sometimes need to know the topxid.
+         *    If there is room in PG_PROC we can get a subxid's topxid direct
+         *    from the procarray if the topxid is still running, using

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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: psql: Add command to use extended query protocol
Next
From: Bharath Rupireddy
Date:
Subject: Re: when the startup process doesn't (logging startup delays)