Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5E6x-00320J-0F for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 02:36:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5E6u-00AeiS-1d for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 02:36:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5E6t-00AeiK-37 for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 02:36:44 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w5E6s-00000000tLW-26XC for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 02:36:43 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id EFE7CEC0110; Tue, 24 Mar 2026 22:36:41 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Tue, 24 Mar 2026 22:36:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1774406201; x=1774492601; bh=ntIYplNiVa UZNX5woNK0UqtX2r/saZX0aKYNYi26CQ0=; b=LFwM+pxfBXeumHvKU8yaAKuxqv ax2k4LILJonuqF1Xl9oAhM7FREFjbJkKylM+shAeRkM+teuABJefufIkXRcqVDJn 1UJ11b7pP/9kh+bmefRFHREm99SCcwRTe9mmLHWKL3M9sNNK4/z6+8b1/H/7R2D2 m/dXaussKhBsyoDfaoFZJdg7GfglgADA7cHD21TxpcvQDmhSPGdxq/k+TMrXx8lQ +VFi/yDRUyopC9VoigC1qg5+eoNi8RPhWS8DHoKXLHX5q0Bpiy5Um5E1U1+FPs7j 3lsGqfodwEp/xwG5vBmtNGQSmVme0ax+nhQpHoJvDFVXaZpx6F0EjMONkcAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1774406201; x=1774492601; bh=ntIYplNiVaUZNX5woNK0UqtX2r/saZX0aKY NYi26CQ0=; b=dAbfxMrS2l8Hhl3gA7YZCK9H4/kLEZpB3vF0Dj9pleunujjZ685 A7HOzJtvUx2nWxl4tGF2+rT5vfd+heYVC6BloA/AxLKC1NSP6ve/qG2Ly34tr4YW SjhBbKAzkSSbhWb6MPwFmX5NqsxSaCW8L/5e8X5VS/8A8HByxIRRvY69+0N8gVmB e+y3nn63lVSHTvFvNXGXNCAkoRc/enpzn5l89U8QiUYJg8wyDEA1S8n4JSS83Y0F q/Lbbu967YmnkTVOfyAWuOjj6rxz9BzvqKgv1YjmpEDVWBuFMzzWwEjUk7ZlqybV EAlMykqIO6nEhtB+A1DtfjtcEXO12GoIIiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdefvdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtdorredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepgeetheehvdeivdeffeetffetuedt feeigefhtdduleegvefhvefhledtjefhgeefnecuffhomhgrihhnpeguihhffhhsrdhith enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgt hhgrvghlsehprghquhhivghrrdighiiipdhnsggprhgtphhtthhopedvpdhmohguvgepsh hmthhpohhuthdprhgtphhtthhopegsohgvkhgvfihurhhmsehgmhgrihhlrdgtohhmpdhr tghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqh hlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Mar 2026 22:36:40 -0400 (EDT) Date: Wed, 25 Mar 2026 11:36:37 +0900 From: Michael Paquier To: Matthias van de Meent Cc: PostgreSQL Hackers Subject: Re: Instability in test/regress/sql/portals.sql Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BpJzWcIbyWERXero" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --BpJzWcIbyWERXero Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 11, 2026 at 03:11:36PM +0100, Matthias van de Meent wrote: > Internally at Databricks we've seen rare regression failures in the > portals.sql test, where the regression diff looks something like the > one attached in data_attachments_ed2b37649a9393b5.diffs. >=20 > It seems like this was caused by synchronized seqscans, which caused > the foo25ns cursor to start its seqscan not at the start of the table, > but instead with an offset into the table. This changed the output, > because that relied on the seqscan starting at the first page of the > table. >=20 > To stabilize this test, let's add SET synchronize_seqscans =3D off, as at= tached. One could be reminded about cbf4177f2ca0, as well, when using a low number of shared buffers. My question would be why only this test? And isn't there some benefit in running this part of the test suite with the parameter enabled? Sync seqscans disabled is a pre-8.3 behavior, and I'd be tempted to suggest that we drop the GUC while making the recovery test 027 use more shared buffers but we tend to be really conservative with these tests, so I doubt that this is going to happen. ;) Or you could just force that on your end with a custom .conf file? We have plenty of configuration that can influence the outcome of the tests, and it is not obvious why this particular case is worth caring for when it comes to the upstream core tests. -- Michael --BpJzWcIbyWERXero Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnDSjUACgkQnvQgOdby QH2/SxAAopmE3TE0oLrgPfjg/kl6FgPkMyNqu2dsHTzB8NYW1MaLL3TKi3Qmd9bj w5khMKPd6eHqbrtDyjjdXKcgaUknIqaGhRtrbAptwR+BBmV4ebgCfU2AUpJUavlx fsx+B7OIZBHXalzrQybbR5Ih4l7geVdJws4aku2VAMZjZq+VPQHlM8DTsWOdG/cF OSctXCvOMUmBcQtVYzDbD2FERsiwuzyKT/BQBlSc+FLvMLhHIQqF6hB+aIygnYC3 vW2tIrgeAWCov93qvs0X2lNMaf21ViDNwjcJ4DE/W82WAfQi8AfS4UOuJZHGekLc ayMRBfoAjhnw43F7K9Uo76dQEgwsdXbdrAunSzoD8SdjJzadmN4lAsmgJEUeItMZ 3WADvK2y8++vOT/Yy7NAHV2JXETdgnOXKsQaAGBUiNPDzUoeZ41/ZyaYaN3lUoIl SU6zlwhv8yBxVNokouJYOh+hlcGBAiOQBhLC0/X0SrapPk9VWHCaQj93HlZS65sZ GbqNie9eoljb9tA1Ud94GNE7B0OdyP3/9a1SaLhzSc/GbzwCq1+7LTpeKlSjBE35 ixtfvOU6wsMvBmnK/5V4JQO8PncTMLUsD5wsc2lasuV+7Jlv66zHrVVkCHFWHnrL Q7jhJt/jBpiilTvxPAmQawZZT1H1USx/wVj31KAMD6DsPmy8FLk= =AVx4 -----END PGP SIGNATURE----- --BpJzWcIbyWERXero--