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.
--
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments