[Tile-serving] [openstreetmap/osm2pgsql] Schema support (#619)
Paul Norman
notifications at github.com
Wed Aug 24 23:02:38 UTC 2016
> @@ -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());
We still support 9.1 which doesn't support the `IF NOT EXISTS` parameter. I recommend dropping this as we already rely on the database having appropriate extensions and this is similar.
--
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/files/619545013bbf5d6dc1f1e4c3c592630e8481193c#r76155480
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160824/fb0b79f1/attachment.html>
More information about the Tile-serving
mailing list