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 1wY4TS-000309-2E for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jun 2026 16:11:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wY4TQ-0016YA-31 for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jun 2026 16:11:12 +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 1wY4TQ-0016Xu-1V for pgsql-hackers@lists.postgresql.org; Fri, 12 Jun 2026 16:11:12 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wY4TO-0000000029a-2l06 for pgsql-hackers@postgresql.org; Fri, 12 Jun 2026 16:11:11 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-490aebf33e9so5596165e9.3 for ; Fri, 12 Jun 2026 09:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781280667; cv=none; d=google.com; s=arc-20240605; b=GsE1kypbJaJZZvS/LksSgzWWui747MX5lUjsnEhdCuKkOeyivPI5ENodq8GNNBy0Pe 3QTyB+pT3lRMVzrkkJnwqJUKnxqiol+qvCCqB9DnooSYoxLO+aNeAzOvPQdCiqcTrGv+ UCk5Fb2l7b7JJLDG6DCeJcV4AgsZq1ivGrekAe4w9pmqGnTNWFYDlK52yToahIE8NGMu U0x7QSchAuIseWNnP7oRFlfzr/HsO3CbJnX0VmOAly4VPueNrvtGHxB5Ra31ZOGrD/w0 MFrNK7YIq6JKpqhz76o4hhc4eND4bMEUPflDyqO7q+zw1A449xIcQ2SDNBzeMeQ6w73I V2hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QqI+CtXEWn7XZkQ+Aap7AR3TNq3ESnlJd5IEbDYk/xE=; fh=3+S21Hqmc82apuT7+1TmuqRJTGP0Oko3iyJR4dQbXSw=; b=FRjpITkcJm/P4kDoLIIYhIIlgMFfCUX2EQZUeUN7gLlo5M/t6KuLW8Q9CJDjMUtZP/ Zp5U291N67H+j34Li7FqjebdLh93Z+Z0O2/i8vca7GbAfxHuEyanBzDS3T73u/GvLpP8 8sLWcIfmLQQHWu9J47bNiNOgCbtgmjT9HdmnU2BzEexvu2pzkcyxGL3NOYTA3Ukd2iVG mKBV/TPTmvUjhg9XFvrWs8cfN5BqLfQYBe0ljJf7RWa10i/IRmVzw2VwefQ/n/YmKGxd MdzHncqNpXOU9j8ukYD47vQotB29BZuN0mM7bV1FUkBKHTnN8VUeJNRzcrnjspuQSNB7 mLLg==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bowt-ie.20251104.gappssmtp.com; s=20251104; t=1781280667; x=1781885467; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QqI+CtXEWn7XZkQ+Aap7AR3TNq3ESnlJd5IEbDYk/xE=; b=FfRxCbY9HyD4N+rdcXPt9Wb0jakoytRqkfz6d9hF4p3yQk0bn45l4zpaemuQFiwSU8 ubxgMl8LGmmjZNs9aMg4nSOE+Jg03sUXjD3uav6zeNE3ZzUKJvYYHkeISpEAOzM0TtDl zrpFTckLcfylKwM1L4Z/Iiwn0iG+fU3si2E+bC1I8vhfce4hqVcJVhMmMY67c1BNQP9c mJ+nA3UA01OnFbJ9fBZalIN46BWdZTOczYqqHCC4rErAlYrH4+dTPaZMrqZTP2VAUR+j h++VJ+ONRTZdNhvT7kPpCtRZTPt3aI0c+p3A1MEjEcs8weRye7gdIqeqPMGEXvzDyyBg 1ucw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781280667; x=1781885467; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=QqI+CtXEWn7XZkQ+Aap7AR3TNq3ESnlJd5IEbDYk/xE=; b=YQ503VTyjf/5PlViPQU0MMK25gW+/55OW7z199Pa7MvsNasT8pZBD5iBkhRT9w8L0z iLZwLc/woUIf1ReyC6RpHyvfS0Q8iIH5lJiCTg+uxfIMRIDREaF4BcJfl8sLzOfETjjK QAx4MmuRmkUYz7/3DBL8ZOYaEItp21Vv+D3auQucqxShmgchaDjdtNBWqUD7G4uA5Wgv CCjJRBsXRu9ZCFxDkcF/tXA74+2sMhLvyC6yAXW6DCL5SWLX27GK+HWRiztHgJKKLdTv tMn2DRanYgbKeSREUVs+raC4DSWISKu6GK3FoxcUKQhN6NcCm0l/5tNSChTB2RmrQNLZ hIHw== X-Forwarded-Encrypted: i=1; AFNElJ9xY72LxT/pNmwGDiivWMuRxYx18qlkwGKHF4gtRNHXQfcb25CtzDQtAX8VDwnbX5AwJOdohfXj0EYMxJHu@postgresql.org X-Gm-Message-State: AOJu0YyWJRWTHqUDATH/uzKcVWhxei/XQDFgIWap6CdZzCBjXWL8DW3r uPsmwG+eIZEYFWkTJ9PoQk6gBaSbD8cj5u3rDbvUYFUX2tXKUgNcNV858LB2MmDH7RXUMnd8ByR s16uRPMWmlMOm1/gCptNDO6GWQQjfIkYV7T4RlCmvYA== X-Gm-Gg: Acq92OFI/Nh6YI2kFwjSsnpHYQ5uIwvc7kP1vIRUXMHS5KVfMkgxUs/92EkiLTQgzrr 5hJOCf/P6I0vA/hnKS6himHtQrOjN+20D7DEjFC/rg/qF/+gyHHRRMo30YoJvu8bA2hS2xMDljy mULJOMPCyAi1VLPlDgnd48qSEI+yNcrWE3AJ1JvW4MFaazkM0FsgKiIxP34YEEMYmzM4xVORpao 6lZrXGkY8MN7Edu/OwtiRnW7xSK7NZEHHjnwz7chaM8oAGw7qv15g+TJxrPvscVbunGGjryAXUm S7zhii9lOZKmRE6qIDXmDPlK+EEA9WVDeUlzRo94u+n3+OBfQguJbg== X-Received: by 2002:a05:600c:1d1e:b0:488:ac01:72de with SMTP id 5b1f17b1804b1-490ec4bfe3emr44735435e9.5.1781280667107; Fri, 12 Jun 2026 09:11:07 -0700 (PDT) MIME-Version: 1.0 References: <56def459-2b95-42bc-b4e4-26e57f08b064@eisentraut.org> In-Reply-To: From: Peter Geoghegan Date: Fri, 12 Jun 2026 12:10:39 -0400 X-Gm-Features: AVVi8CcCl0sKLhTubNpMFKswK5qUsHOWVqIeV-owD9aBzeBMrEsh4uZRZ2UcAXE Message-ID: Subject: Re: s/pg_attribute_always_inline/pg_always_inline/? To: Tomas Vondra Cc: Andres Freund , Peter Eisentraut , pgsql-hackers@postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jun 12, 2026 at 11:23=E2=80=AFAM Tomas Vondra wro= te: > 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. --=20 Peter Geoghegan