RE: list of TransactionIds - Mailing list pgsql-hackers

From houzj.fnst@fujitsu.com
Subject RE: list of TransactionIds
Date
Msg-id OS0PR01MB5716E2399494D4CB1A28A091942A9@OS0PR01MB5716.jpnprd01.prod.outlook.com
Whole thread Raw
In response to Re: list of TransactionIds  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: list of TransactionIds
List pgsql-hackers
On Monday, July 4, 2022 9:27 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:

Hi,

> 
> Pushed now, to master only.

Thanks for introducing these APIs!

While trying to use the newly introduced list_member_xid(), I noticed that it
internally use lfirst_oid instead of lfirst_xid. It works ok for now. Just in
case we change xid to 64 bits in the future, I think we’d better use lfirst_xid
here.

Here is a tiny patch to fix that.

Best regards,
Hou Zhijie

Attachment

pgsql-hackers by date:

Previous
From: "Drouvot, Bertrand"
Date:
Subject: Re: shared memory stats ideas
Next
From: Alvaro Herrera
Date:
Subject: Re: list of TransactionIds