Re: list of TransactionIds - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: list of TransactionIds
Date
Msg-id 20221020074355.jzqk7hdnz7qpuzc5@alvherre.pgsql
Whole thread Raw
In response to RE: list of TransactionIds  ("houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>)
List pgsql-hackers
Hello

On 2022-Oct-20, houzj.fnst@fujitsu.com wrote:

> 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.

Egad.

> Here is a tiny patch to fix that.

Pushed, thanks.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"I can't go to a restaurant and order food because I keep looking at the
fonts on the menu.  Five minutes later I realize that it's also talking
about food" (Donald Knuth)



pgsql-hackers by date:

Previous
From: "houzj.fnst@fujitsu.com"
Date:
Subject: RE: list of TransactionIds
Next
From: Peter Smith
Date:
Subject: Re: GUC values - recommended way to declare the C variables?