<p>ok, I made append correctly : <code>--append </code>, not <code>-append</code>, but this wasn't enought:</p>
<pre><code>osm2pgsql --append -s --cache 14000 --proj 3857 -H my.local -d osm -U osm -W -P 5432 russia-latest.osm.pbf
node cache: stored: 0(-nan%), storage efficiency: -nan% (dense blocks: 0, sparse nodes: 0), hit rate: -nan%
Osm2pgsql failed due to ERROR: Cannot detect file format. Try using -r.
</code></pre>
<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/1000?email_source=notifications&email_token=AA6353XVWMHPXYGPVEBIVDLQVPVDLA5CNFSM4JRKE4A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFCYSGY#issuecomment-558205211">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353TXXLSM6XB3RBAFVU3QVPVDLANCNFSM4JRKE4AQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353RYWFCGVYU5LWAYWM3QVPVDLA5CNFSM4JRKE4A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFCYSGY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/1000?email_source=notifications\u0026email_token=AA6353XVWMHPXYGPVEBIVDLQVPVDLA5CNFSM4JRKE4A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFCYSGY#issuecomment-558205211",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1000?email_source=notifications\u0026email_token=AA6353XVWMHPXYGPVEBIVDLQVPVDLA5CNFSM4JRKE4A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFCYSGY#issuecomment-558205211",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>