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 1u2A46-00DyHt-KG for pgsql-committers@arkaria.postgresql.org; Tue, 08 Apr 2025 14:36:38 +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 1u2A44-009VEM-Re for pgsql-committers@arkaria.postgresql.org; Tue, 08 Apr 2025 14:36:37 +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 1u2A44-009VCc-Fs for pgsql-committers@lists.postgresql.org; Tue, 08 Apr 2025 14:36:36 +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 1u2A43-003goU-0G; Tue, 08 Apr 2025 14:36:35 +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 538EaWXO3979924; Tue, 8 Apr 2025 10:36:32 -0400 From: Tom Lane To: Andres Freund cc: pgsql-committers@lists.postgresql.org, Daniel Gustafsson , Tomas Vondra Subject: Re: pgsql: Add support for basic NUMA awareness In-reply-to: <87592CF0-5F4E-4043-BC57-E635E0924995@anarazel.de> References: <7ABC1680-3B82-4DD4-B9B7-BB4F74668B1A@yesql.se> <3976705.1744121148@sss.pgh.pa.us> <87592CF0-5F4E-4043-BC57-E635E0924995@anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 08 Apr 2025 10:24:21 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3979922.1744122992.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 08 Apr 2025 10:36:32 -0400 Message-ID: <3979923.1744122992@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On April 8, 2025 10:05:48 AM EDT, Tom Lane wrote: >> I noticed this a little further up in dogfish's log: >> = >> ninja: bad depfile: expected ':', saw 's' > I noticed that too - but it happened even before the hard failures. Will= look at it in a bit. After catching up on the hackers thread, I wondered if this isn't actually part of the identical issue, that is ninja is noticing that there's not a dependency leading to that include file. > I think part of the file would make sense to eventually use in FE code, = we should move the SQL function and the page size function out. = Works for me. But a file in src/port/ should really use only c.h if at all possible. Otherwise (as Andrew said) it has to choose one of postgres.h and postgres_fe.h depending on FRONTEND. regards, tom lane