<p>I've run several planet loads before without this issue, but this started happening recently - only on global loads. I always try with a small extract first and it work fine. It happens at the very end of processing (~24 hours later)</p>
<p>osm2pgsql -c -d mydb -U postgres -P 5432 --slim --drop --cache 9000 --number-processes 8 --hstore --keep-coastlines --extra-attributes --prefix "osm" --style my.style --multi-geometry planet-latest.osm.pbf</p>
<p>osm2pgsql version 0.95.0-dev (64 bit id space)</p>
<p>Using built-in tag processing pipeline<br>
Using projection SRS 3857 (Spherical Mercator)<br>
Setting up table: osm_point<br>
Setting up table: osm_line<br>
Setting up table: osm_polygon<br>
Setting up table: osm_roads<br>
Allocating memory for dense node cache<br>
Allocating dense node cache in one big chunk<br>
Allocating memory for sparse node cache<br>
Sharing dense sparse<br>
Node-cache: cache=9000MB, maxblocks=144000*65536, allocation method=11<br>
Mid: loading persistent node cache from /gevol/osm2pgsql-nodes/2018-06-13<br>
Mid: pgsql, cache=9000<br>
Setting up table: osm_nodes<br>
Setting up table: osm_ways<br>
Setting up table: osm_rels</p>
<p>Reading in file: planet-latest.osm.pbf<br>
Using PBF parser.<br>
Processing: Node(4536975k 433.8k/s) Way(497350k 6.99k/s) Relation(648110 58.76/s)ERROR: relation "osm_point" does not exist</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/855">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7o1uU9tCNfXGlGfKCad2_eaa9C2aks5uCpf2gaJpZM4VAAIJ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7rt3Ou9Xi4w4fhvJncbgjFf92IR9ks5uCpf2gaJpZM4VAAIJ.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://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Planet load fails with ERROR: relation \"osm_point\" does not exist (#855)"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/855"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/855",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/855",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Planet load fails with ERROR: relation \"osm_point\" does not exist (#855)",
"sections": [
{
"text": "",
"activityTitle": "**Jason Newmoyer**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@jnewmoyer",
"facts": [
{
"name": "Repository: ",
"value": "openstreetmap/osm2pgsql"
},
{
"name": "Issue #: ",
"value": 855
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/osm2pgsql\",\n\"issueId\": 855,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"openstreetmap/osm2pgsql\",\n\"issueId\": 855\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/osm2pgsql/issues/855"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 352322057\n}"
}
],
"themeColor": "26292E"
}
]</script>