<p></p>
<p dir="auto">I have updated the docs to make the description a bit clearer I hope. It is not as complex as you describe. It simply adds all nodes that have at least one tag to the <code class="notranslate">planet_osm_nodes</code> table even if a flat node file is used. Unlike the other data in the middle, this is not needed for osm2pgsql itself, it is only so that this data is there for users who want to do something special with the data.</p>
<p dir="auto">Adding those nodes adds about 30 GB for the table plus 5 GB for the index to the database size. That's large enough that we don't want to do that by default.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/discussions/2012#discussioncomment-6532449">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VDHBOWIGRZSD5ZFUDXR22APANCNFSM6AAAAAA2VZCBJI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353X3OPSXGJLRZNH7CU3XR22APA5CNFSM6AAAAAA2VZCBJKWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAMOWWC.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/osm2pgsql/repo-discussions/2012/comments/6532449</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/discussions/2012#discussioncomment-6532449",
"url": "https://github.com/openstreetmap/osm2pgsql/discussions/2012#discussioncomment-6532449",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>