<p></p>
<blockquote>
<p>Can you post the output of <code>./osm2pgsql -V</code> and the exact command line parameters you're using?</p>
</blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/mmd-osm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mmd-osm">@mmd-osm</a></p>
<pre><code>osm2pgsql version 1.2.0 (0.96.0-652-gd34b7a2)

Compiled using the following library versions:
Libosmium 2.15.5
Lua 5.1.4 (LuaJIT 2.1.0-beta3)
</code></pre>
<p>I now see the commit number is included in the osm2pgsql version, and that is the same as you mentioned (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/osm2pgsql/commit/d34b7a27d73d1a69278b292ff6af1c7c7033bae3/hovercard" href="https://github.com/openstreetmap/osm2pgsql/commit/d34b7a27d73d1a69278b292ff6af1c7c7033bae3"><tt>d34b7a2</tt></a>), so we are definitely on the same version.</p>
<p><code>osm2pgsql -o flex -d <DATABASE_NAME> -U <USER_NAME> --tablespace-slim-data '<TABLESPACE_NAME>' --tablespace-slim-index '<TABLESPACE_NAME>' --create -W -l --slim --drop --flat-nodes '<NODE_FILE_PATH>' --style 'src/openstreetmap-carto/openstreetmap-carto.style' --tag-transform-script 'src/openstreetmap-carto/openstreetmap-carto.lua' 'data/new-york-latest.osm.pbf' -C 0</code></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/1183#issuecomment-632650915">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353T6PMJ4ZQVD42TTPCDRSZQ4JANCNFSM4NG573TA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353XD2YTSQMYV7EQR5DTRSZQ4JA5CNFSM4NG573TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEW2XZIY.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/1183#issuecomment-632650915",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1183#issuecomment-632650915",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>