[Tile-serving] [osm2pgsql] middle-pgsql fails to escape special characters (#247)
Sarah Hoffmann
notifications at github.com
Mon Jan 5 22:48:55 UTC 2015
`escape` is set to 1 when `escape_tag()` is used for escaping stuff for copy mode and set to 0 when escaping for an `INSERT` statement. These are all escapes for array lists. Oddly enough, there is code [here](https://github.com/openstreetmap/osm2pgsql/blob/master/middle-pgsql.cpp#L251) that decodes slash + character into the special characters when reading from the database. It is all rather confusing.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/247#issuecomment-68796449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150105/d77af1ed/attachment.html>
More information about the Tile-serving
mailing list