Re: list of TransactionIds

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: list of TransactionIds
Дата
Msg-id CAA4eK1+H-L9ddsfDJVgmFfSVgxnL2eD8FXj7W9rz+CSM7C9pmw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: list of TransactionIds  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: list of TransactionIds  (Michael Paquier <michael@paquier.xyz>)
Re: list of TransactionIds  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
On Sun, May 15, 2022 at 5:05 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>
> On 2022-May-14, Amit Kapila wrote:
>
> > 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.
>
> I hesitate to add this the day just before beta.  This is already in
> pg14, so maybe it's not a big deal if pg15 remains the same for the time
> being.  Or we can change it for beta2.  Or we could just punt until
> pg16.  Any preferences?
>

I prefer to do this for pg16 unless we see some bug due to this.

-- 
With Regards,
Amit Kapila.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "osumi.takamichi@fujitsu.com"
Дата:
Сообщение: RE: First draft of the PG 15 release notes
Следующее
От: Amit Langote
Дата:
Сообщение: pgbench --partitions=0