[Tile-serving] [openstreetmap/osm2pgsql] Introduce separate COPY threads (#914)
Sarah Hoffmann
notifications at github.com
Thu Feb 28 20:10:19 UTC 2019
lonvia commented on this pull request.
> @@ -245,20 +156,34 @@ pg_result_t middle_query_pgsql_t::exec_prepared(char const *stmt,
return exec_prepared(stmt, buffer);
}
+pg_result_t middle_pgsql_t::exec_prepared(char const *stmt, osmid_t osm_id) const
+{
+ char buffer[64];
+ sprintf(buffer, "%" PRIdOSMID, osm_id);
Replaced all 4 occurrences I could find with snprintf.
--
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/pull/914#discussion_r261363898
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190228/cdb224cc/attachment.html>
More information about the Tile-serving
mailing list