public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: alexander al (leiden) <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: Building and installing pg_proctab
Date: Sat, 24 Jan 2026 11:03:18 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

"alexander al (leiden)" <[email protected]> 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






reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Building and installing pg_proctab
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox