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 1whgSw-000MaQ-1x for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Jul 2026 04:34:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1whgSu-00AoAt-2k for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Jul 2026 04:34:25 +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 1whgSu-00AoAi-1s for pgsql-hackers@lists.postgresql.org; Thu, 09 Jul 2026 04:34:25 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1whgSt-00000000GI2-19wc for pgsql-hackers@lists.postgresql.org; Thu, 09 Jul 2026 04:34:24 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-493b61b52b6so13115415e9.1 for ; Wed, 08 Jul 2026 21:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783571662; x=1784176462; darn=lists.postgresql.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=gjmpWoNgp9At/NvglgOJRtQlMpg0fik9PI8Xn0wVFwI=; b=Efjt9/58PVZ5FZ9VkWCmcRJrz8t7IYgXI0SSEgelxUZ6F1eRb/c+qnR65/Ky1LMEig +M366p5ej8C1XyPQ4XGWt84CZIDF5BHX/ZlNFSSA7FD+XNqqf5RkG83HO2IqcnFfnImZ B1y4b2OUQ7Sx33IDrMmZxh4ilWjOZxIhzVHAftgYK7K1rq4as9ID7xvkHMWpWyubxch0 k0AeMwTfnDychGqTx/efUM3KOpUhHJMfyuxpKTUX3VQZ3LV3Jw8nG7ANsZ7wXFtQKbCU QzgHpB6YdgeO1q+lSyVZj2woLtOc/xcR+B6Y4hAKHYZ1i6lbUu5oujMACvGa6i2HiK5t 3Ngw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783571662; x=1784176462; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=gjmpWoNgp9At/NvglgOJRtQlMpg0fik9PI8Xn0wVFwI=; b=BnWae5svJSlctdPgNRsi6+5dgjmYKG8XBh0B2uTLUXUWDUm9zLgDdXibJZ8KX1zaU5 2KMIXzeYp/YW9QxoQEGp9iE0zpIjuh5vwat6e2RE4PEcka/CqdEwqr5VkmP8LaUPZlsL YOEpnS1qW41QzYLFtvGorWfUE/qolL9oUQY88YQVZVtulHWWuPeKdagDvX11y6Z6t7g/ uR5qo6bOlG0Qs5XVzXA94V+cRlJrwOYuDhDNYXRtvLgeTeOuF0wpLjymqRIRT6lmigN7 ZRnOiOS0eChGiioi78jfmAW9N849yudmMtfOHGQ5Ae+hOHB9CTqFTqxCRWzRffH/dziu baSQ== X-Forwarded-Encrypted: i=1; AHgh+RrijSRAvVGh2Aw7/6OWOYd4yDsi6Pfl180GOfw0I+qCOQtZ74k2Rgv+3yQVvvuCsZNcoBHel7vkwsKQ5dNA@lists.postgresql.org X-Gm-Message-State: AOJu0Yx7cbMYH2o9ASc1M366LN/DilpwhvxTiZemIWsR+EwP35k5I3L9 faoD6wMFlDIzKK2nOwKh7E9ghS0HD29yKFpOSrj6gW9xA6tpD1Rnqpw+ X-Gm-Gg: AfdE7cnHcz4KXic6Jq23CQD4ONJgKjH0oVRymI96cuDH2sOyzoySrg+y1zEcO9zQw/k 5UZvfQNglUTDTuQjdZ+ptDH0LgjcW8oxpv4XRe47XrCRCVb3ZwueMWIdcdkisAhuBfkIKXlodHm fA0X6t0NDSlGlrYyfWRO8affevpq7/Ufn8QfNiACdw9E/tcCdZaz+AUhPVC42oVCCURKdxBZiYk onvERylOuKHCL+ydju7M4TIg5MHJQFImuftwTlJ2l0o8/GG82TbqxNbRRDaVAoLSagtVobhyP0y 7nm1jLxmmAXiBslZfLwOFzehyI9X7awDt4UgLAb6WYM/+YqZBLSouBJaJsgYCyVzDez4iJMRm8R xusBoutdtYiiBUcHxsmiEiwxdjqR3E9Bw/VIQTBNjl0VWMlKvhpcw+3PkFvKGds5jUvA1Y08wxJ 4+l/ZuMU+RQBrlNyBqWXeVuEZ6/fzf8ETpMCK3SwszTKR+2RJXLjXKaVlQBz3awoP1WagPek6t X-Received: by 2002:a05:600c:a016:b0:493:dfc8:77d6 with SMTP id 5b1f17b1804b1-493e7be4b90mr41729805e9.12.1783571661922; Wed, 08 Jul 2026 21:34:21 -0700 (PDT) Received: from bdtpg (ec2-15-237-197-144.eu-west-3.compute.amazonaws.com. [15.237.197.144]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-493e89eac4csm39416005e9.0.2026.07.08.21.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2026 21:34:21 -0700 (PDT) Date: Thu, 9 Jul 2026 04:34:20 +0000 From: Bertrand Drouvot To: Michael Paquier Cc: Kouber Saparev , pgsql-hackers@lists.postgresql.org Subject: Re: BF mamba failure Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Thu, Jul 09, 2026 at 07:45:54AM +0900, Michael Paquier wrote: > On Wed, Jul 08, 2026 at 10:53:47AM +0000, Bertrand Drouvot wrote: > Due to the decision of using missing_ok=true in the end-of-transaction > drops, that could indeed help. I'd be curious to hear back after the > next minor release. Yeah, Kouber do you think you could upgrade to 17.11 or 18.5? (current schedule is August 13th, 2026 ([1])). > > Michael, I wonder if that would make sense to add this "set_next_oid" kind of > > thing to a contrib module to test this kind of OID reuse issue. Same idea as > > xid_wraparound. > > That's probably larger than just the OIDs. Maybe something that's > able to do what pg_resetwal does for the control file could be useful. > Publishing another footgun sounds a bit annoying, but we also have > stuff like pg_surgery, that serve a similar purpose to shortcut the > backend. Yeah. In addition to the OIDs I could think about the mxid (but I think they would be better suited in xid_wraparound). The others look way more difficult (if doable) to do outside pg_resetwal. So I'd be tempted to just add an oid_wraparound one and we could add this test case too. Thoughts? [1]: https://www.postgresql.org/developer/roadmap/ Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com