[Tile-serving] [openstreetmap/osm2pgsql] Replication script: better checking for external libraries (PR #1616)
Sarah Hoffmann
notifications at github.com
Wed Jan 19 16:04:35 UTC 2022
Print a helpful error message with instructions what to do when loading the psycopg or osmium libraries fails.
The second commit enables the script to work with psycopg>=3.0. (It will still prompt you to install psycopg2, just so that people who are on stable distributions are not confused.)
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1616
-- Commit Summary --
* replication script: check for external libraries
* replication script: enable psycopg3
-- File Changes --
M scripts/osm2pgsql-replication (34)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1616.patch
https://github.com/openstreetmap/osm2pgsql/pull/1616.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1616
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1616 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220119/c071697e/attachment.htm>
More information about the Tile-serving
mailing list