<p>For tables without geometry column, this allows writing<br>
some_table:add_row() in addtion to some_table:add_row({}) or<br>
some_table:add_row{} which makes it a tiny bit more usable.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/osm2pgsql/pull/1290'>https://github.com/openstreetmap/osm2pgsql/pull/1290</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Make the Lua add_row() functions 2nd parameter optional</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/1290/files#diff-becb223d44aa5a6bb197bf494c1e7e66308350843d927aed3363ce76a1945004">src/output-flex.cpp</a>
    (27)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/1290/files#diff-eb0877d0ae0333090af6f62ded23bdd2331bfe217d6870d367f4aae7d8a5398c">tests/data/test_output_flex_types.lua</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1290.patch'>https://github.com/openstreetmap/osm2pgsql/pull/1290.patch</a></li>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1290.diff'>https://github.com/openstreetmap/osm2pgsql/pull/1290.diff</a></li>
</ul>

<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/pull/1290">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WVZ2JU35QK2ZEHKJLSKVLXHANCNFSM4SQILAMQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353WLSOII55W3FLI4MEDSKVLXHA5CNFSM4SQILAM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KX5HMKA.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/pull/1290",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1290",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>