[Tile-serving] [openstreetmap/osm2pgsql] How does osm2pgsql --append handles duplicates while updating diff files (Discussion #1974)

wgds60 notifications at github.com
Sun Jun 11 15:20:44 UTC 2023


If the changes.osc.gz file include e.g. osm_ids that are already in the database, how does osm2pgsql handle those updates?

Older versions (pre 0.9x e.g.?) had been throwing errors if an input file had duplicates (e.g. adding another region via --append instead of merging and deduplicating input files) if I remember this correctly.

But how does osm2pgsql e.g. handle the situation where a diff is applied for the last 12 hours while the db is only 4 hours behind?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/discussions/1974
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/repo-discussions/1974 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230611/52560487/attachment.htm>


More information about the Tile-serving mailing list