]> git.openstreetmap.org Git - nominatim.git/commit
Simplify parsing of postgres and postgis versions
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 18 Nov 2018 16:18:17 +0000 (17:18 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 18 Nov 2018 16:27:20 +0000 (17:27 +0100)
commit9cf85f90fb822a54bc7b33d91a67bdbf0397c487
treef990f462efcf2d24a7f4e246bb7d6cab458b972f
parentfb796d14ec539fd4415a61732311dc4c98b87776
Simplify parsing of postgres and postgis versions

Switch to functions server_version_num and postgis_lib_version
which both only return the version string, so that no elaborate
string parsing is necessary anymore. The version string could
become especially cumbersome in pre-release versions.
lib/db.php
lib/setup/SetupClass.php