Commit eadaba5b authored by Christoph Berg's avatar Christoph Berg

pg_virtualenv: Set PG_CONFIG in single version mode.

parent 577577e9
postgresql-common (151) UNRELEASED; urgency=low
* pg_virtualenv: Set PG_CONFIG in single version mode.
* pg_wrapper: Always use the latest available version of "pg_isready"
instead of the target cluster's. pg_isready appeared only in 9.3, but is
usable with older versions as well. Suggested by Peter Eisentraut.
(Closes: #728599)
-- Christoph Berg <myon@debian.org> Sun, 03 Nov 2013 23:47:53 +0100
-- Christoph Berg <christoph.berg@credativ.de> Mon, 04 Nov 2013 14:18:08 +0100
postgresql-common (150) unstable; urgency=low
......
......@@ -180,7 +180,9 @@ export PGDATABASE="postgres"
case $PG_VERSIONS in
*\ *) ;; # multiple versions: do not set PGPORT because that breaks --cluster
*)
export PGPORT="$port" ;; # will always be 5432 in root mode, but could differ otherwise
export PGPORT="$port" # will always be 5432 in root mode, but could differ otherwise
export PG_CONFIG="/usr/lib/postgresql/$PG_VERSIONS/bin/pg_config"
;;
esac
# run program
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment