[Tile-serving] [osm2pgsql] middle-pgsql fails to escape special characters (#247)

Paul Norman notifications at github.com
Sun Jan 4 22:39:44 UTC 2015


> Prepared statements are not really an alternative as much of it is about escaping strings for copy mode

Oh ya - that excludes prepared, and [`COPY` is far faster](http://www.postgresql.org/docs/9.3/static/populate.html#POPULATE-COPY-FROM).

> switch to C++ bindings first

Do you mean something like like libpqxx?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/247#issuecomment-68652872
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150104/82ef9bd3/attachment.html>


More information about the Tile-serving mailing list