Re: list of TransactionIds - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: list of TransactionIds
Date
Msg-id CAA4eK1+J5MgNYWvJdogK2_+9pPni8fQ1czO38LOdsPnrFrch+Q@mail.gmail.com
Whole thread Raw
In response to list of TransactionIds  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: list of TransactionIds
List pgsql-hackers
On Sat, May 14, 2022 at 1:57 AM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>
> We didn't have any use of TransactionId as members of List, until
> RelationSyncEntry->streamed_txns was introduced (464824323e57, pg14).
> It's currently implemented as a list of int.  This is not wrong at
> present, but it may soon be, and I'm sure it rubs some people the wrong
> way.
>
> But is the rubbing way wrong enough to add support for TransactionId in
> pg_list.h, including, say, T_XidList?
>

+1. I don't know if we have a need for this at other places but I feel
it is a good idea to make its current use better.

-- 
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Japin Li
Date:
Subject: Re: Backends stunk in wait event IPC/MessageQueueInternal
Next
From: vignesh C
Date:
Subject: Re: Skipping schema changes in publication