[Tile-serving] [openstreetmap/osm2pgsql] Flex backend - int column with string input (#1107)

Andy Allan notifications at github.com
Mon Apr 6 11:06:14 UTC 2020


In the flex backend, if an integer column is provided with string input (which is the mostly likely case) then coercion is attempted. However, if the string is not a number (e.g. 'abc') then the output is currently `0` instead of `null`.

I couldn't find the definition of lua_tointeger to debug further!


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200406/5bf16ac7/attachment.htm>


More information about the Tile-serving mailing list