<p>osm2pgsql version 0.96.0 (64 bit id space)</p>
<p>Allocating memory for dense node cache<br>
Allocating dense node cache in one big chunk<br>
Node-cache: cache=163840MB, maxblocks=2621440*65536, allocation method=10<br>
Mid: loading persistent node cache from ./flat_nodes<br>
Mid: pgsql, cache=163840<br>
Using built-in tag processing pipeline<br>
Using projection SRS 4326 (Latlong)<br>
Setting up table: planet_osm_point<br>
Setting up table: planet_osm_line<br>
Setting up table: planet_osm_polygon<br>
Setting up table: planet_osm_roads</p>
<p>Reading in file: /mnt/osm_data/changesets/003/371/578.osc.gz<br>
Using XML parser.<br>
DB writer thread failed due to ERROR: result COPY_END for planet_osm_ways failed: ERROR: duplicate key value violates unique constraint "planet_osm_ways_pkey"<br>
DETAIL: Key (id)=(326726632) already exists.<br>
CONTEXT: COPY planet_osm_ways, line 18</p>
<p>The changeset file<a href="https://planet.openstreetmap.org/replication/minute/003/371/578.osc.gz" rel="nofollow">1</a> contains version 4 and 5 of the way (id)=(326726632), so i wonder if this is a changeset or an osm2pgsql issue.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/921">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7iQ-C6q9YtCqKfBA00_PgwtQJIjdks5vWQOdgaJpZM4btSeN">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7p8EEysXWLQAJzHNvzzIYijDN0joks5vWQOdgaJpZM4btSeN.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Error on applying OSM minutely diff in changeset sequence 3371578 (#921)"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/921"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/921",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/921",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>