Re: A patch for get origin from commit_ts.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: A patch for get origin from commit_ts.
Дата
Msg-id CANP8+jJu-bta+4KBRDf2XKsHybDBY1Ew_zvcuoTdhES+ZWLGcQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: A patch for get origin from commit_ts.  (Madan Kumar <madankumar1993@gmail.com>)
Ответы Re: A patch for get origin from commit_ts.  (michael@paquier.xyz)
Список pgsql-hackers
On Tue, 30 Jun 2020 at 02:17, Madan Kumar <madankumar1993@gmail.com> wrote:
 
We already have pg_xact_commit_timestamp() that returns the timestamp of
the commit.

Yes, pg_xact_commit_origin() is a good name for an additional function. +1 for this.
 
It may be better to have one single function returning both
timestamp and origin for a given transaction ID.

No need to change existing APIs.

--
Simon Riggs                http://www.2ndQuadrant.com/
Mission Critical Databases

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Ought to use heap_multi_insert() for pg_attribute/depend insertions?
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: track_planning causing performance regression