lonvia/osgende — pull request #3 by datendelphin (2012-12-16 07:49:09+00:00)
Title: for postgis 2.0: try to load it as an extension first

Tries to load postgis as an extension, and if it fails (postgis < 2.0) it falls back to the perviously existing logic.

Loading postgis as an extension also needs a commit at the end of OSMImporter.makedb() before tmpdb.close() (more of a bugfix than anything else)