[Tile-serving] [openstreetmap/osm2pgsql] Schema support (#619)

mmd notifications at github.com
Wed Jan 16 22:41:00 UTC 2019


mmd-osm commented on this pull request.



> @@ -1063,6 +1073,7 @@ void middle_pgsql_t::start(const options_t *out_options_)
         pgsql_exec(sql_conn, PGRES_COMMAND_OK, "SET synchronous_commit TO off;");
 
         pgsql_exec(sql_conn, PGRES_COMMAND_OK, "SET client_min_messages = WARNING");
+        pgsql_exec(sql_conn, PGRES_COMMAND_OK, "CREATE SCHEMA IF NOT EXISTS %s", schema.c_str());

The README file still lists 9.1 as minimum version, although it isn't supported anymore since more than 2 years now. Should this updated?

https://www.postgresql.org/support/versioning/

-- 
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/619#discussion_r248478888
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190116/f2ce559c/attachment.html>


More information about the Tile-serving mailing list