[Tile-serving] [osm2pgsql] Added the capability to specify a target schema for the tables. (#173)

Paul Norman notifications at github.com
Mon Feb 9 02:07:59 UTC 2015


I've been rewriting this against C++ and I realized there's a non-obvious bug in the logic which needs fixing.

The default schema for a user can be `public`, but is not always. If it is not public, then the logic of `if schema != "public" then set search_path` does not allow you to set the schema to public.

boost::optional might be the way to do this.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/173#issuecomment-73447861
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150208/ebfcca2f/attachment.html>


More information about the Tile-serving mailing list