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.94.2) (envelope-from ) id 1u29aK-00DqJ5-LO for pgsql-committers@arkaria.postgresql.org; Tue, 08 Apr 2025 14:05:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u29aJ-0092lk-2t for pgsql-committers@arkaria.postgresql.org; Tue, 08 Apr 2025 14:05:51 +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.94.2) (envelope-from ) id 1u29aI-0092fn-R3 for pgsql-committers@lists.postgresql.org; Tue, 08 Apr 2025 14:05:51 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u29aH-003gYA-0b; Tue, 08 Apr 2025 14:05:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 538E5mEv3976706; Tue, 8 Apr 2025 10:05:48 -0400 From: Tom Lane To: Daniel Gustafsson cc: Tomas Vondra , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add support for basic NUMA awareness In-reply-to: <7ABC1680-3B82-4DD4-B9B7-BB4F74668B1A@yesql.se> References: <7ABC1680-3B82-4DD4-B9B7-BB4F74668B1A@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Tue, 08 Apr 2025 13:40:04 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3976704.1744121148.1@sss.pgh.pa.us> Date: Tue, 08 Apr 2025 10:05:48 -0400 Message-ID: <3976705.1744121148@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: >> On 7 Apr 2025, at 23:18, Tomas Vondra wrote: >> Add support for basic NUMA awareness > dogfish is a little bit upset it seems. Hm, but why isn't anything else? I noticed this a little further up in dogfish's log: ninja: bad depfile: expected ':', saw 's' I wonder if there's something a bit wrong with dogfish's meson and/or ninja versions. > Looking at pg_numa.c, shouldn't the include of postgres.h have an #ifndef > FRONTEND guard for postgres_fe.h as well? No, because it's evidently backend-only code. The real question is why is it in src/port/, because everything there gets built for both frontend and backend. regards, tom lane