<p></p>
<p dir="auto">Turns out, this is a bug. Somehow we don't properly reset column flags when reading the style file.</p>
<p dir="auto">Style file:</p>
<pre><code>node,way   wetland                       text      polygon,nocolumn
way        foo                           text      linear
way        way_area                      real      
</code></pre>
<p dir="auto">results in columns <code>foo</code>, <code>way_area</code>.</p>
<p dir="auto">Style file:</p>
<pre><code>node,way   wetland                       text      polygon,nocolumn
way        foo                           text      
way        way_area                      real      linear
</code></pre>
<p dir="auto">results in column <code>way_area</code> only.</p>
<p dir="auto">Style file:</p>
<pre><code>node,way   wetland                       text      polygon
way        foo                           text
way        way_area                      real
</code></pre>
<p dir="auto">results in columns <code>wetland</code>, <code>foo</code> and <code>way_area</code>.</p>
<p dir="auto">This could go unnoticed for so long because most people modify the default style where all columns have flags.</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/1590#issuecomment-992636093">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VQ3G6LXASWQ7ERMNTUQYLXRANCNFSM5JY3LU3Q">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AA6353VVHEJPA3F6LHTREH3UQYLXRA5CNFSM5JY3LU32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHMVGZPI.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/1590#issuecomment-992636093",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1590#issuecomment-992636093",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>