pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Include replication origins in SQL functions for commit timestam
Date: Mon, 13 Jul 2020 10:53:04 +0900
Message-ID: <20200713015304.GA1868@paquier.xyz> (raw)
In-Reply-To: <20200712122507.GD21680@paquier.xyz>
References: <E1juaSI-0005XW-QO@gemulon.postgresql.org>
	<20200712122507.GD21680@paquier.xyz>

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_RESTRICTIONS, where replication origins
> should be prefixed by "regress_".  I did not know that this rule was
> applied here.

Sorry for the delay.  jacana has been complaining here:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=jacana&dt=2020-07-12%2018%3A02%3A48

Visily switching to tstzrange() is not a brilliant idea, as I suspect
here that the problem is caused by the timestamp comparison in the
upper bound: using the internal range checks, the upper bound is
excluded, so if the follow-up query's now() matches the commit
timestamp of the previous transaction, the comparison fails.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (3+ messages)

Message-ID: <20200713015304.GA1868@paquier.xyz>
Permalink:  ../20200713015304.GA1868@paquier.xyz/
Also on:    postgresql.org/message-id/20200713015304.GA1868@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Include replication origins in SQL functions for commit timestam
  In-Reply-To: <20200713015304.GA1868@paquier.xyz>
  References: <E1juaSI-0005XW-QO@gemulon.postgresql.org> <20200712122507.GD21680@paquier.xyz> <20200713015304.GA1868@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox