ClusterLabs/resource-agents — pull request #349 by krig (2013-11-12 12:38:43+00:00)
Title: Med: pgsql: Support for non-standard port and library locations

pgsql Resource Agent does not account for custom lib locations and
custom ports, making it impossible to use with some Postgres
installations.

Both of these customizable Postgres installation options are typically
controlled by simple environment variables, making them easy to
parametrize as
part of the Resource Agent (LD_LIBRARY_PATH and PG_PORT, respectively).