[Tile-serving] [openstreetmap/osm2pgsql] Add an option to TRUNCATE instead of DROP CASCADE when --create option set (#758)
Nikolai Lebedev
notifications at github.com
Tue May 23 16:43:13 UTC 2017
Is it possible to have an option of doing a `TRUNCATE` on imported tables instead of `DROP CASCADE`? I'm loosing a lot of views this way. So I have to truncate tables manually and use an `--append` option instead of `--create`, which slows things down very much.
I have a db with a previously imported osm data, but it's easier in this case to reload all the tables instead of updating them with diffs.
What happens if I restrict `DROP` to the `osm2pgsql` user? Will the script continue to load in existing tables or throw an error?
--
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/issues/758
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170523/a02db712/attachment.html>
More information about the Tile-serving
mailing list