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.96) (envelope-from ) id 1vjg6d-002Ryh-07 for pgsql-admin@arkaria.postgresql.org; Sat, 24 Jan 2026 16:03:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vjg6c-0033Di-0N for pgsql-admin@arkaria.postgresql.org; Sat, 24 Jan 2026 16:03:22 +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.96) (envelope-from ) id 1vjg6b-0033DZ-2U for pgsql-admin@lists.postgresql.org; Sat, 24 Jan 2026 16:03:22 +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 1vjg6Z-0025y7-2G for pgsql-admin@lists.postgresql.org; Sat, 24 Jan 2026 16:03:21 +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 60OG3IEi3257414; Sat, 24 Jan 2026 11:03:19 -0500 From: Tom Lane To: "alexander al (leiden)" cc: Pgsql-admin Subject: Re: Building and installing pg_proctab In-reply-to: <437545deb5676b1fea07fcd2c94cd9b2fc503df6.camel@scred.nl> References: <74911db1cbeed5636c8f36c565c5d4c9c30342d0.camel@scred.nl> <437545deb5676b1fea07fcd2c94cd9b2fc503df6.camel@scred.nl> Comments: In-reply-to "alexander al (leiden)" message dated "Sat, 24 Jan 2026 13:17:55 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3257412.1769270598.1@sss.pgh.pa.us> Date: Sat, 24 Jan 2026 11:03:18 -0500 Message-ID: <3257413.1769270598@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "alexander al (leiden)" writes: > On Tue, 2026-01-20 at 11:28 +0100, Erik Wienhold wrote: >> Judging by the Makefile logic, I think you need to set USE_PGXS=1. > Yes, that was true, but than you have to feed the .h files, and those > are only available when you compile postgresql itself. So I pulled > postgresql 18.1 source, installed too much packages and compiled PG. > After this I could compile pg_proctab. Oh well, lessons learned ;) If you normally get Postgres via a packaging system: most distros offer an add-on package that includes our .h files and other stuff needed to compile dependent code, typically named something like postgresql-dev or postgresql-devel. Installing that would've saved you some effort. regards, tom lane