[Tile-serving] [osm2pgsql-dev/osm2pgsql] Refuse to import if PostGIS's core procedures aren't updated. (Discussion #2140)

mboeringa notifications at github.com
Fri Feb 16 18:00:24 UTC 2024


@joto That would be fine, but additionally, you might consider to simply print out the result of `SELECT PostGIS_Full_Version();` as one of the first steps in the processing. 

osm2pgsql already prints out a few lines regarding versions of PostgreSQL and PostGIS, which is useful, but not the full result of this command. Maybe replacing these loglines by the PostGIS_Full_Version command's result, would at least give users a chance to catch such an issue early on, and potentially cancel a very large strenuous import, without requiring to run additional scripts for convenience functions.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2140#discussioncomment-8495619
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2140/comments/8495619 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240216/ec9f16f2/attachment.htm>


More information about the Tile-serving mailing list