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 1vLqHX-00C2vd-0O for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Nov 2025 22:04:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vLqHV-00Fof7-1f for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Nov 2025 22:04:05 +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 1vLqHV-00Foez-0j for pgsql-hackers@lists.postgresql.org; Wed, 19 Nov 2025 22:04:05 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vLqHS-000PhD-1Q for pgsql-hackers@lists.postgresql.org; Wed, 19 Nov 2025 22:04:04 +0000 Received: from phl-compute-12.internal (phl-compute-12.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id 83E771400143; Wed, 19 Nov 2025 17:04:02 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Wed, 19 Nov 2025 17:04:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm2; t=1763589842; x= 1763676242; bh=WpJ6mVxVru6w4eb7eZ/vny1J+3GtoQN/bBVt40rbmps=; b=U RLjBLbcime/TNoMbR4pEzCnebnyqSysrTxVGa2tgP1+jsxjyZIx28ZTuiHwMR4Sv f8+69s4wthnJvZesRmd46v37lO5rfcPyvgpUsDWLcNHUJbcfs0h99wa4om40dALY Z1C0KgroDq4hsinOnigRSV4OhxZMRpnWD3sHggywHaeaOmT4X4W2bsGAUIvmaI+B SOtnq8MxeoH6yOrsYWfJuIssLTnnIl5/PqLi+qIquWuQyRg1lCjP3+2MbqWowN/4 XnfF3ZfZWrKphl6lAqd8CnpfUQ4mLI+xj6m2gXCHPeIZ+ZAxdEd8bWHgYyXpxdrv ogq/V3lbqBaSQWKmCRVBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1763589842; x=1763676242; bh=W pJ6mVxVru6w4eb7eZ/vny1J+3GtoQN/bBVt40rbmps=; b=imOSj9vBAOSasSZkT wbG2pB0Z3b1+M0sSZ//Ws9LRv7hu/gyrroDHjAsx/xdRg3nYRkOCp+dj8NzghoM8 MBuwBkGfJ43432G5iy0LaoPuSLMPFdf4eLBHbjweWGmkugg4/dkXxe93pyOv0HDq nTJlzHCAskkjwf8wrxzsvRzOpKH6hl7jp0H3Us7sqG8JnqpeqBb2Hrr5O4SBuwMg 32mDdCiI+jqqoUkUt9vDGMwb1CoT8uwZDit0iljPJM+AyH2cYGYwZxWGEl8mxc0c 7fObJMHwVtoOE71mR65fLLKK0lDSZN7EO+bNOr2CFs2RVFzj75B7unFr9GCWE7/n ucM8g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvvdehfeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopeejpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdprhgtphht thhopegsvghrthhrrghnuggurhhouhhvohhtrdhpghesghhmrghilhdrtghomhdprhgtph htthhopehrohgsvghrthhmhhgrrghssehgmhgrihhlrdgtohhmpdhrtghpthhtohephhhl ihhnnhgrkhgrsehikhhirdhfihdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhsse hlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehmihgthhgrvghl sehprghquhhivghrrdighiiipdhrtghpthhtohepqhhurghniihonhhglhhirghngheshi gvrghhrdhnvght X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Nov 2025 17:04:01 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1763589839; bh=qqNBC9GhAb/JrtmEOvvma7ipGZ9RRMJqPUn+zUXWLHw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=gHSrhTC4c2V9Olfms2K79IZky5jE2wfih9LniS3KFyFADJnFJG07gX2YCtYYMXJVQ xgwVLHkyvoac+oaSXSHPevUbx/eRfEKBYbg5djMRq0IkkSdlejEGelakYR3c7VGi2q QpvZOulIGa9IxNEa3kw83exFYO/Niwxj4u511Hv0baZY3m52GU+WTAZRyMRgTrDfF/ bw78YvA0ixQ8OwiWfGriJGA6Dm9FuFHX/eVrLmbDMiH2c1NUCL3ffC4uxbNvZA0/0A LShStPWwpZ+c1b+sPfqd66TdBAkN2GEY/q65QWitYqQrYVrj7JrJ5IoAY48FBDtstv +UxvfHzxbivJA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 6D7CE76; Wed, 19 Nov 2025 23:03:59 +0100 (CET) Date: Wed, 19 Nov 2025 23:03:59 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Robert Haas Cc: Bertrand Drouvot , Peter Eisentraut , Michael Paquier , Heikki Linnakangas , Quan Zongliang , pgsql-hackers@lists.postgresql.org Subject: Re: Consistently use the XLogRecPtrIsInvalid() macro Message-ID: <202511192201.3wvvrchnvyfb@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Nov-19, Robert Haas wrote: > I do not know how to make the phrase "older minor releases" any more > clear. It's perfectly clear. I just don't believe this claim. > You and Álvaro seem to be under the impression that nobody will > ever try to compile code written after this change from a point > release that we shipped before this change. While I don't think that > will be a common thing to do, I'm not sure where you get the idea that > older minor releases completely cease to be relevant when we release a > new one. That's just not how it works. I'm sure compiled versions continue to be relevant, but I highly doubt anybody compiles afresh with old minors. > I bet if we look in a few years we'll find modules on PGXN that have > #ifdef logic in them to make sure they can work with both > XLogRecPtrIsInvalid and XLogRecPtrIsValid. Ok, let's wait a few years and see. My bet is you won't find any. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/