On 4/21/25 09:26, Anton Shepelev wrote:
> Adrian Klaver:
>
>> Found it. It is coming from the Debian postgresql-common
>> packaging.
>>
>> /usr/bin/pg_config is wrapper that contains:
>>
>> #!/bin/sh
>>
>> # If postgresql-server-dev-* is installed, call pg_config from the latest
>> # available one. Otherwise fall back to libpq-dev's version.
>
> Ah, that makes sense. The error message, however, is
> misleading:
>
> You need to install postgresql-server-dev-NN
> for building a server-side extension
> or libpq-dev
> for building a client-side application.
>
> because the user calling `pg_config' may not be intent upon
> buidling either kind of application. Stating that pg_config
> requires one of these pachages would be more understandable.
> Thank you very much.
>
That is a request for the Debian packaging team.
They can be reached at:
https://www.postgresql.org/list/pgsql-pkg-debian/
Or through alternate means as detailed here:
https://wiki.postgresql.org/wiki/Apt#Bugs
--
Adrian Klaver
adrian.klaver@aklaver.com