Re: Add last commit LSN to pg_last_committed_xact()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Add last commit LSN to pg_last_committed_xact()
Дата
Msg-id 20220119010546.sqhtj5jcnmubwhz7@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Add last commit LSN to pg_last_committed_xact()  (James Coleman <jtc331@gmail.com>)
Ответы Re: Add last commit LSN to pg_last_committed_xact()  (James Coleman <jtc331@gmail.com>)
Список pgsql-hackers
Hi,

On 2022-01-18 18:31:42 -0500, James Coleman wrote:
> One other question on this: if we went with this would you expect a
> new function to parallel pg_last_committed_xact()?

I don't think I have an opinion the user interface aspect.


> Or allow the xid and lsn in the return of pg_last_committed_xact()
> potentially not to match (of course xid might also not be present if
> track_commit_timestamps isn't on)? Or would you expect the current xid and
> timestamp use the new infrastructure also?

When you say "current xid", what do you mean?

I think it might make sense to use the new approach for all of these.


Greetings,

Andres Freund



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: slowest tap tests - split or accelerate?
Следующее
От: Allie Crawford
Дата:
Сообщение: Re: [Ext:] Re: Stream Replication not working