<p></p>
<p>Hmm, this is a bit unexpected. It seems you're still running the Lua script in the "old" world and not using the new flex backend at all!</p>
<p>According to <a href="https://github.com/openstreetmap/osm2pgsql/blob/master/docs/flex.md#command-line-options">https://github.com/openstreetmap/osm2pgsql/blob/master/docs/flex.md#command-line-options</a>, you would need to:</p>
<ul>
<li>Change <code>-o flex</code> to <code>-O flex</code></li>
<li>Replace <code>--style 'src/openstreetmap-carto/openstreetmap-carto.style' --tag-transform-script 'src/openstreetmap-carto/openstreetmap-carto.lua'</code> by <code>-S src/openstreetmap-carto/openstreetmap-carto.lua</code>. There's no need to provide a .style file, all the information is inside the lua script.</li>
</ul>
<p>I haven't tested --tablespace-slim-data and --tablespace-slim-index in detail.</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-632655473">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353QV5P25CON2MAPX2CTRSZSKBANCNFSM4NG573TA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353XLMIGJZSATYYGX5C3RSZSKBA5CNFSM4NG573TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEW2Y44I.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-632655473",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1183#issuecomment-632655473",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>