Re: Something in our JIT code is screwing up PG_PRINTF_ATTRIBUTE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Something in our JIT code is screwing up PG_PRINTF_ATTRIBUTE
Date: 2025-12-04 05:32:47
Message-ID: 988386.1764826367@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> Adding to my confusion, I do not see these warnings on a local
> RHEL9 machine, which ought to be pretty equivalent to CentOS 9.

Oh! I see part of the story: I was testing that with gcc.
If I switch to clang (version 20.1.8 here), then I see that
we pick "__syslog__" and then these complaints appear.

So why isn't clang being bug-compatible with gcc on the
names of printf archetypes? They're certainly pretty
slavish about that on most other topics.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-12-04 05:50:09 Re: Refactor how we form HeapTuples for CatalogTuple(Insert|Update)
Previous Message John Naylor 2025-12-04 05:30:52 Re: tuple radix sort