Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1juneu-0008Dy-6E for pgsql-committers@arkaria.postgresql.org; Mon, 13 Jul 2020 01:53:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1junes-0004pv-5D for pgsql-committers@arkaria.postgresql.org; Mon, 13 Jul 2020 01:53:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1juneq-0004lt-23 for pgsql-committers@lists.postgresql.org; Mon, 13 Jul 2020 01:53:29 +0000 Received: from [66.111.4.25] (helo=out1-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1junen-0005yo-0P for pgsql-committers@lists.postgresql.org; Mon, 13 Jul 2020 01:53:26 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D095F5C0151 for ; Sun, 12 Jul 2020 21:53:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 12 Jul 2020 21:53:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=XFAhiCpNGGyaqv46rBTZcNJ6388 otyjgqNPXV6iqGa8=; b=KDxeGQSRR4Rab7k5B8UBXd81BkqPRAmlpoWvc5ezj2Z rigY3iBpu3tNXiGDkk8k9OtaZMZrqmjoYODh9Io06htUpTMFLxxVupsljsXWwtET ql/Jr1Vx2TaB5O5v24L7FMD80tsSBp7vkFkAraGdNY86ptTFmoITzwpJp3AOcD1w kD8j7SFnMR5ngoAsnByz8bwzhVKGXYQ2xYQ1xPYJSHaTcLROaJG6qJT/zzACeZL7 s/kq0qI4P5OaMm71r0Bx1WBQBcw7zs6trouWqdXkl65aMcM3I3rX49shztTOONoH Y4QiAqJi+h6BCcKh+ClsE+QtrghgiFv8KI/KB4G6TQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=XFAhiC pNGGyaqv46rBTZcNJ6388otyjgqNPXV6iqGa8=; b=pdKT99x0s4jRsB/ZHLmKNX ZNpmF70xCZQsWuznpZYIspR8nycIupJdfUliVJglthbAW//uYGl2SAD7bc+qcjLm eUu4UBUbv3l1tG9Fg0JctTu0yOTs5TlSrpLPjGG0lipC6tgDzvOBEELlbLX8ngRV fwz6z7cC8jEk7usSruyNQvbdgZV/e06KRF9U59n+MSGCWQZYzR4AsFUrtzRspRX4 pvX2o3aVcpu0pqxx7pVlD3ZNbdmhwLm4apZDNvaxg5v6P5XpG4UBgUoSMO5QQ/Hu Gq1EBcWtauCSKl3KGBMgqN7QqgdfeI16hBDJ7okl6RVp339d9IlOIBCFrm9d4mcg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrvdejgdehfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdefhedmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnh epffdufeeflefghfekudekkeevvddugfeiteekkeduleefvefhhffftdduffeiuedtnecu ffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepuddukedrvdeguddrvd ehtddrvddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (mp76f1facd.ap.nuro.jp [118.241.250.205]) by mail.messagingengine.com (Postfix) with ESMTPA id 98A08328005D for ; Sun, 12 Jul 2020 21:53:12 -0400 (EDT) Date: Mon, 13 Jul 2020 10:53:04 +0900 From: Michael Paquier To: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Include replication origins in SQL functions for commit timestam Message-ID: <20200713015304.GA1868@paquier.xyz> References: <20200712122507.GD21680@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <20200712122507.GD21680@paquier.xyz> X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.25 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3Dlongfin&dt=3D20= 20-07-12%2011%3A49%3A08 >=20 > 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=3Djacana&dt=3D2020-= 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 --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl8LvoAACgkQnvQgOdby QH0VcBAAiPFDamD2OqmIQO+zIjFNR9HxnnDXVIRNJLhhqC6vURA+b1+eA4imXL6m 2zzQ0h6KKHFZyD73Iv0PKTvqIuozwUY/uAs+8J90UNBq+hJiIYh2MGt4/cNsTb2Q 70qLuAGFHqcivgxOeho6+fBUn+9GbtHAubke1zvsjcQlOOmAUWwz25J5aAXZ2VTz XyI13gZWI6vyOL0RI8dw7+vy5YpMzI21P7fMXmRfBmwqWpsy7O/54HGP17JYPjI8 mwn2t5REafR0WqrSL9hCoBuzBchFdX5P0FXbdhqj0J7C2mcd5YfwqRNT42iFOmkN mO2xuyOkKw84W+f5AnHgV8G3u0V9MYxlsIxo5U54bfmmQKfNPtsNRYukMTGVv4U7 rl0jxgHPiEIlyRw/arNd47Ewk6jBRNOiwbPNFWjjIsV1yZKLzN/GugmVBRkaTMKr 7Bi8n98V6p9N5YUfajK6UnSv/5S1749gWWCgeBR6hwqmSnv2GxPzePRAAawD291a yn8ToeFbo4d98DvJ9UhJ2RNIKfPjtW9nXiNC1IWUf91zVLaDQ+5l6mOqSY+/b1gT oXLP3S/lLRO7Qt5FGDQCXGR5569PWwI1sLVuiLjgmzeJc/sMf10PuAO9QgXG7ZCE vmC3S7KXISQr+5BFJMe5TQegPdQDAm6hgdMsiyR9Ndb3KWpvVuY= =YOIF -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--