Honours a POSTGIS_REGRESS_DB environment variable
git-svn-id: http://svn.osgeo.org/postgis/trunk@12452
b70326c6-7e19-0410-871a-
916f4a2858ee
# Global configuration items
##################################################################
-our $DB = "postgis_reg";
+our $DB = $ENV{"POSTGIS_REGRESS_DB"} || "postgis_reg";
our $REGDIR = abs_path(dirname($0));
our $SHP2PGSQL = $REGDIR . "/../loader/shp2pgsql";
our $PGSQL2SHP = $REGDIR . "/../loader/pgsql2shp";