On 01/07/2025 14:03, Tomas Vondra wrote:
> Thanks! Pushed, with both adjustments (link to kernel thread, adding the
> commit hash).
I just noticed that this (commit bf1119d74a: Add CHECK_FOR_INTERRUPTS
into pg_numa_query_pages) made the function unusable in frontend
programs, because CHECK_FOR_INTERRUPTS is server only. It's not used in
frontend programs today, but it was placed in src/port/ with the idea
that it could be.
That's pretty easy to fix by wrapping it in an "#ifndef FRONTEND" block,
per attached.
- Heikki