[postgis-devel] 1.3.4 RC3
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Fri Nov 14 06:00:52 PST 2008
Obe, Regina wrote:
> FWIW, switching my 8.3 on OpenSUSE to run on the default port 5432
> makes make check check the right version. So I guess make check is just
> hard-coded to assume postgresql is on the default port and I presume
> always been that way.
>
> All checks pass with the Linux PostgreSQL binary EnterpriseDb 8.3.3
> provided one-click install. I haven't tried with the 8.3.5 one-click
> install, but assume it would work.
>
> Thanks,
> Regina
Hi Regina,
libpq always obeys the PGPORT environment variable to choose the default
port, so depending upon your shell on OpenSUSE you can set this for the
duration of the session using either of the following:
export PGPORT=5433 (bash)
setenv PGPORT 5433 (tcsh)
Once this is set, "make check" (and indeed any other applications which
use libpq) will use this as the default connection port. I use a similar
mechanism to allow multiple versions of PostgreSQL on my workstation here.
HTH,
Mark.
--
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
More information about the postgis-devel
mailing list