Re: list of TransactionIds

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(at)fujitsu(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Subject: Re: list of TransactionIds
Date: 2022-10-20 07:43:55
Message-ID: 20221020074355.jzqk7hdnz7qpuzc5@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

On 2022-Oct-20, houzj(dot)fnst(at)fujitsu(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2022-10-20 07:52:00 Re: GUC values - recommended way to declare the C variables?
Previous Message houzj.fnst@fujitsu.com 2022-10-20 07:34:31 RE: list of TransactionIds