mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
extensions where introduced in postgresql in 9.1, not in 9.0
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user