<p><a href="https://github.com/apmon" class="user-mention">@apmon</a> thanks for your information. Lua scripts seems to be the way to go, although I'm not totally successful yet. I'll keep trying and will tell about success / failure.</p>

<p>I already have an interesting idea:</p>

<ul>
<li>additional tables - filter_tag_node/way/... could return a list of tables where the object should be added too (e.g. roads)</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/osm2pgsql/issues/116#issuecomment-32301364'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/4046574__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNTI2MjM5MywiZGF0YSI6eyJpZCI6MjMzODYxOTN9fQ==--53d20d72b0a1c865056524d822683df182c2406c.gif' height='1' width='1'></p>