Re: SUBTRANS: Minimizing calls to SubTransSetParent()

From: Japin Li <japinli(at)hotmail(dot)com>
To: Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>
Cc: Julien Tachoires <julmon(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: SUBTRANS: Minimizing calls to SubTransSetParent()
Date: 2022-11-15 13:31:14
Message-ID: MEYP282MB1669BB462812F428CB7D4A9FB6049@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Tue, 15 Nov 2022 at 17:34, Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com> wrote:
> On Mon, 7 Nov 2022 at 21:14, Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-11-15 13:33:03 Re: when the startup process doesn't (logging startup delays)
Previous Message Peter Eisentraut 2022-11-15 13:29:54 Re: psql: Add command to use extended query protocol