Re: pgsql: Include replication origins in SQL functions for commit timestam

2020-07-12 Thread Michael Paquier
On Sun, Jul 12, 2020 at 09:25:07PM +0900, Michael Paquier wrote: > longfin has been failing here: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=longfin&dt=2020-07-12%2011%3A49%3A08 > > The buildfarm logs include no output, but the problem comes from > -DENFORCE_REGRESSION_TEST_NAME_RES

Re: pgsql: Include replication origins in SQL functions for commit timestam

2020-07-12 Thread Michael Paquier
On Sun, Jul 12, 2020 at 11:47:38AM +, Michael Paquier wrote: > Include replication origins in SQL functions for commit timestamp > > While on it, refactor a test of modules/commit_ts/ to use tstzrange() to > check that a transaction timestamp is within the wanted range, making > the test a bit

pgsql: Include replication origins in SQL functions for commit timestam

2020-07-12 Thread Michael Paquier
Include replication origins in SQL functions for commit timestamp This includes two changes: - Addition of a new function pg_xact_commit_timestamp_origin() able, for a given transaction ID, to return the commit timestamp and replication origin of this transaction. An equivalent function existed i