[Tile-serving] [openstreetmap/osm2pgsql] Crash when integer contains non-integer value (#621)
Sarah Hoffmann
notifications at github.com
Fri Oct 21 21:55:54 UTC 2016
The import code can only handle 'int4' and 'real' as special numeric types in the C transform, see https://github.com/openstreetmap/osm2pgsql/blob/master/table.cpp#L465. If you change the type from `integer` to `int4` in your style, it will work as expected.
That said, I don't see why we shouldn't support all current integer and real types that postgres offers. It would also be a good idea to get rid of the string compare in that function.
--
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/621#issuecomment-255474971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20161021/e1226f70/attachment.html>
More information about the Tile-serving
mailing list