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)
Список
Дерево обсуждения
Re: A patch for get origin from commit_ts. "movead.li@highgo.ca" <movead.li@highgo.ca>
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.
В списке pgsql-hackers по дате отправления
От: Daniel Gustafsson
Дата: