Documentation
 
 
 

pg_config

Name

pg_config -- retrieve information about the installed version of EnterpriseDB

Synopsis

pg_config {--bindir | --includedir | --includedir-server | --libdir | --pkglibdir | --pgxs | --configure | --version}...

Description

The pg_config utility prints configuration parameters of the currently installed version of EnterpriseDB. It is intended, for example, to be used by software packages that want to interface to EnterpriseDB to facilitate finding the required header files and libraries.

Options

To use pg_config, supply one or more of the following options:

--bindir

Print the location of user executables. Use this, for example, to find the psql program. This is normally also the location where the pg_config program resides.

--includedir

Print the location of C header files of the client interfaces.

--includedir-server

Print the location of C header files for server programming.

--libdir

Print the location of object code libraries.

--pkglibdir

Print the location of dynamically loadable modules, or where the server would search for them. (Other architecture-dependent data files may also be installed in this directory.)

--pgxs

Print the location of extension makefiles.

--configure

Print the options that were given to the configure script when EnterpriseDB was configured for building. This can be used to reproduce the identical configuration, or to find out with what options a binary package was built. (Note however that binary packages often contain vendor-specific custom patches.)

--version

Print the version of EnterpriseDB and exit.

If more than one option (except for --version) is given, the information is printed in that order, one item per line.

 
 ©2004-2007 EnterpriseDB All Rights Reserved