> On Wed, Apr 09, 2025 at 01:20:16PM GMT, Ashutosh Bapat wrote: > ../../coderoot/pg/src/include/storage/s_lock.h:93:2: error: #error > "s_lock.h may not be included from frontend code" > > How about this? Why is that happening?
The same -- as you can see it comes from compiling pg_numa.c, which as it seems used in frontend and imports pg_shmem.h . I wanted to reshuffle includes in the patch anyway, that would be a good excuse to finally do this.