Re: list of TransactionIds
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-05-14T09:45:45Z
Lists: 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.
Commits
-
Use proper macro to access TransactionId
- 7fd1ae987a5d 16.0 landed
-
Implement List support for TransactionId
- f10a025cfe97 16.0 landed