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 1wAqYf-000RvN-1S for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 14:40:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAqYd-00689R-1T for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 14:40:36 +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 1wAqYd-00689C-0W for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 14:40:36 +0000 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wAqYa-00000000CCv-3vTh for pgsql-hackers@postgresql.org; Thu, 09 Apr 2026 14:40:35 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 6BDBB7A02E0; Thu, 9 Apr 2026 10:40:31 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Thu, 09 Apr 2026 10:40:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; 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=fm2; t=1775745630; x=1775832030; bh=406znhLRM6 Fe0/JygVK7CTWmt3YzNnDUMhyYdVVT7m0=; b=XUcq+YII3P5NDmmXoIYjfh6Z4b 1NKL4u5Zp6ZAfFRSM5OQU89IHcOGFIcHZWS+Lf7lhW5bO5Xo9tUc0XeUIZ1wznAi wL1EHCZyt91rA1N6WrQ4ZgJJhqb4PC+2qQ3/8MadlByM4UVcOimKn39SnLDhxY87 m0XtcRpxyo3e+/kqRMdOXloJM22ybpEeMLJjOrq7bB3FZa3fN6Ih2UlHYJdYRZfg dbk9WceK9n208BBaiwE4eg2Xl5VoBnfVQ8ZqWTUCwiJhJqGuaeFv7pJ4lJqrzts2 H9eDYtl3GCEzEGSLsoJEF6lzUcWqRZF+f6lQmMWautWtqdMqqUSdOrG1U2Wg== 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=fm2; t= 1775745630; x=1775832030; bh=406znhLRM6Fe0/JygVK7CTWmt3YzNnDUMhy YdVVT7m0=; b=Dw4U/yzVUim0L3zwW+ESIuvHfeiC1t1KGEpPtBcqmj0MLlQMD6k bujjd/Pm0H1DyT+lTU66ya/DORpExOvQLOg3SVXfHyYk2/mc1oaRJecvSlQybGjB sTMk6KGNarjk2euwYOwopv/L1PzxUQcxTZ+AZzruXmj3unGiaYV3YwYaYjqp8Ea9 5PIQ/54IR9hEprwgGjk7OggTO/Foy9EtViraX7cY67tcvnAFhPnLkMU8mIU7MMCA pKOf5EbKK5Mh69KHSchVmjRI8dAxHLJE3tRi/hyQUyDNzjDQRBLlc6GYJ4gUomQO vp4b7NrVAhHTv8S1Y5mE0QtdWIIQ9/6c/jg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvieejgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfhfgggtuggjsehttdfstddttddvnecuhfhrohhmpeetnhgurhgvshcu hfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrghtth gvrhhnpeeffffgledvffegtdevlefgtdeggffhvdekgfegteeiveejkeetudelveejhfeu geenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnh gurhgvshesrghnrghrrgiivghlrdguvgdpnhgspghrtghpthhtohepvddpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtohepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpd hrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Apr 2026 10:40:30 -0400 (EDT) Date: Thu, 9 Apr 2026 10:40:30 -0400 From: Andres Freund To: Peter Eisentraut Cc: pgsql-hackers@postgresql.org Subject: Re: s/pg_attribute_always_inline/pg_always_inline/? Message-ID: References: <56def459-2b95-42bc-b4e4-26e57f08b064@eisentraut.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56def459-2b95-42bc-b4e4-26e57f08b064@eisentraut.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-04-09 02:00:37 +0200, Peter Eisentraut wrote: > On 08.04.26 23:09, Andres Freund wrote: > > Hi, > > > > When reviewing the index prefetching patch I got a bit dismayed at how long > > pg_attribute_always_inline is due to the way it triggers pgindent to format > > stuff. > > > > I propose that we remove the _attribute_ part of the name. > > > > Given that it is implemented for compilers that don't use the > > __attribute__((always_inline)) spelling, so the shorter name seems better > > anyway. > > Yes, and the existing name is also kind of wrong even on GCC because the > macro does not expand to only an attribute but also includes the "inline". It didn't start out that way, that only came in a bit later, in 434e6e148441... Created a CF entry, to reduce the chances of me forgetting about committing this early in the 20 cycle. Greetings, Andres Freund