[Tile-serving] [osm2pgsql] middle-pgsql fails to escape special characters (#247)
Sarah Hoffmann
notifications at github.com
Sun Jan 4 22:33:54 UTC 2015
That escape code certainly isn't pretty, in particular, as it is repeated three times throughout the code. Prepared statements are not really an alternative as much of it is about escaping strings for copy mode. The libpq escaping seems to want to do its own memory allocation. That sounds expensive. Also, we might want to switch to C++ bindings first.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/247#issuecomment-68652633
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150104/656d8dc9/attachment.html>
More information about the Tile-serving
mailing list