From: Sarah Hoffmann Date: Sat, 21 Jan 2012 12:09:43 +0000 (+0000) Subject: extensions where introduced in postgresql in 9.1, not in 9.0 X-Git-Tag: v2.0.0~125 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/acadfcb2c584c991621599698b6f5b21e8803dc8?hp=cc564e2f319bb267884998c7243d179320aa0327 extensions where introduced in postgresql in 9.1, not in 9.0 --- diff --git a/utils/setup.php b/utils/setup.php index 842d30e2..b0eecfc8 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -82,7 +82,7 @@ $oDB =& getDB(); passthru('createlang plpgsql '.$aDSNInfo['database']); $pgver = (float) CONST_Postgresql_Version; - if ($pgver < 9.0) { + if ($pgver < 9.1) { pgsqlRunScriptFile(CONST_Path_Postgresql_Contrib.'/hstore.sql'); } else { pgsqlRunScript('CREATE EXTENSION hstore');