On Tue, 30 Jun 2020 at 02:17, Madan Kumar <madankumar1...@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/
<http://www.2ndquadrant.com/>
Mission Critical Databases

Reply via email to