s/pg_attribute_always_inline/pg_always_inline/?

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: s/pg_attribute_always_inline/pg_always_inline/?
Date: 2026-04-08 21:09:12
Message-ID: bqqdehahpoa36igpictuqyn2s2mexk3t3ehidh2ffd2slb35e5@rzgksuiszgbg
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Thoughts?

Greetings,

Andres Freund

Attachment Content-Type Size
v1-0001-Shorten-pg_attribute_always_inline-to-pg_always_i.patch text/x-diff 22.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-04-08 21:19:57 Re: Add pg_stat_autovacuum_priority
Previous Message Andreas Karlsson 2026-04-08 20:59:52 Re: Use proc_exit() in WalRcvWaitForStartPosition