Rather, use the pg_config you find in the path to get the include directory (or the compiler flags) or use App::Info::RDBMS::PostgreSQL or as a last resort $POSTGRES_HOME.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных