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 1wha1p-000JEG-0B for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jul 2026 21:42:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wha1l-009fnq-2y for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Jul 2026 21:41:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wha1l-009fnc-1e for pgsql-hackers@lists.postgresql.org; Wed, 08 Jul 2026 21:41:58 +0000 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wha1i-00000000LnR-3nHx for pgsql-hackers@postgresql.org; Wed, 08 Jul 2026 21:41:57 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 9A6281F65B; Wed, 8 Jul 2026 21:41:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vondra.me; s=gm1; t=1783546909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DxK6RZcR9X5Id0y9JXXVk1VGyODExw94KAzXBr1zU9M=; b=BPPsUbkO2qOR+eNN4JkEQQIJeP8Tbqrwj9XpCX7QxJ/OG+bEyx2lMDifdVNAIZnHF4IiDJ L4P4tA8PSl+4CQodUsBUQDEz5eReIV9ObtQ7In1j4fp7N3ZhUrX7SyQwssXe2XGs6helD2 khsssVUlOj1EpWhat39u/pMSRCK51yQ3AnbKPAPFqicUxGFzEEvBc9pO4QO2kZlWfM6fzF TAy9VM3YLDFs53R0+0JW6V3bzPSttaWNr8nioVBkl/QXXSgiASsuAdCxSIjFg1obDFXv6c fYZyrhas202/nMVMUt00BK6qiAZf+95dKLBEwgOpP+2gxD/Pl496XVsbi1RA4g== Message-ID: <4370bec0-df13-40f3-92ee-75974182e41f@vondra.me> Date: Wed, 8 Jul 2026 23:41:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: s/pg_attribute_always_inline/pg_always_inline/? To: Peter Geoghegan Cc: Andres Freund , Peter Eisentraut , pgsql-hackers@postgresql.org References: <56def459-2b95-42bc-b4e4-26e57f08b064@eisentraut.org> Content-Language: en-US From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: tomas@vondra.me X-GND-State: clean X-GND-Score: -100 X-GND-Cause: dmFkZTETNMOG6OxPePZWbXQEF8M3upuYGJWkgn9sy/9sP8HfoUMC9JNYtoIX4dBq2+SvSyD3Pt52qhO6Lu6xR4pze1HGNxV+0Izy0q7U0X6J9mtUbEnQ6h1BuH/NAxjx0XoCtJhAMUbmi0mLGDj5j1HIHquiDslAkQVMoQRkqAifzRE6r1lG5PcBART5INpqMLH5u79DGLVtjqgTI8PzdBewl7IOLkxZPGnzg7YiO4Hp/Rv4T+vTUt5yQCdL3DTGSVlqoxPLXUuzMdHWEytUUW97yxTkUqB+81xe4qIgN5ASgG3HQdj2rplGty73AoaIaV8nzXBmPJkHNCkYIHZqV2S92tXOCmrxakPv4SldIzhM9iZbdTbL2nvAZdd/Qj/eMQDXuwVCP0mdbbmfSPwhxcK5BbuHUjT4EgFv9T53gF+GlffXPlUYdlNhlXbOz/BpKS8xbF2c9Pk6qE8kHnQrAa0INbDm1XOLj6rIX0VztwHGAD7tV1wn4C+gpTb8PgD08Jca7782lbkVzMRQPydAb2VWzn6S2RYjw/Jtl1E2dFPXNQwvnl2fWLXiKDRGDu5V6XIFzc9BT34nZ6CKOCRbAnUidhv5cG7bSuD/YX+P1nBxYR79QmBSOIVHxdLIpLvM0hxuumx6DRFH7SSR4s8i3fNDgBw5XwHsp0GYl5weaKKwYQmYCA List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/12/26 18:10, Peter Geoghegan wrote: > On Fri, Jun 12, 2026 at 11:23 AM Tomas Vondra wrote: >> I'm not sure about pg_mustinline. It seems weird to me, and I'm not sure >> saving the 3 characters is worth it, pg_always_inline seems better. > > I'm not going to make a fuss about it. > >> Yeah, we should not do such weird stuff just because of unnecessarily >> long attribute names. > > Right. Basically, I don't want to be told that I must completely > change the order of function definitions because I used > pg_[attribute]_always_inline. It's just not reasonable to impose that > requirement on patch authors. > >> Question - do we plan to do this in master only, or was the plan to >> backpatch the change? I'm not sure if these labels are used outside the >> core code, that might be an issue for backpatching. > > I think that we should bite the bullet and backpatch. I count only 17 > instances of pg_attribute_always_inline on the master branch. > > Some extensions will no longer build against the backbranches if we go > this way. However, extension authors should find it easy to work > around this on an ad-hoc basis. They're going to have to work around > it sooner or later, so we might as well favor the new spelling. > So, what shall we do about this? I've been looking at the v29 of the index prefetching patch series, which is using this attribute in a bunch of places. And that reminded me of this thread. I guess we should just commit that, so unless someone objects soon I'll just do that. ISTM the agreement is to backpatch this too. regards -- Tomas Vondra