[Tile-serving] [openstreetmap/osm2pgsql] Confusing error when database parameter is missing (#1400)

Stephan notifications at github.com
Fri Jan 29 19:46:28 UTC 2021


Do I understand correctly, that the request is to first check whether the `postgis` extension is installed, before calling postgis functions?


Like:

```
postgres=# SELECT count(*) FROM pg_extension WHERE extname='postgis';
 count
-------
     1
(1 row)
```

And if not printing an error message?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1400#issuecomment-770011612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210129/ee9e5128/attachment.htm>


More information about the Tile-serving mailing list