Wednesday, December 14, 2011

Postgresql - pg_config

pg_config is a small application that provides information of the current postgresql installation.Many of the utilities that you install to support your postgresql server, rely on this utility to get the necessary parameters for postgresql binaries and libraries.

It's contained in the postgresql-contrib package and in my case, it's installed in this path:
/usr/pgsql-9.0/bin/pg_config
i.e. in the same path that the other postgresql binaries.

Of course, in order for the program that requires such information to find pg_config it must be included in the PATH environment variable.

http://www.postgresql.org/docs/8.1/static/app-pgconfig.html

No comments:

Post a Comment