[Tile-serving] [osm2pgsql] Remove FASTUPDATE hack to handle different PostgreSQL versions (#283)
Paul Norman
notifications at github.com
Wed Feb 11 06:46:28 UTC 2015
> @@ -1235,37 +1235,16 @@ void *middle_pgsql_t::pgsql_stop_one(void *arg)
> fprintf(stderr, "Stopping table: %s\n", table->name);
> pgsql_endCopy(table);
> time(&start);
> - if (!out_options->droptemp)
> + if (out_options->droptemp)
I think the logic of `if --drop then drop table else if able to build an index then create index` is clearer than what we had before, and avoids a level of nested ifs.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/283/files#r24476831
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150210/f89b3147/attachment.html>
More information about the Tile-serving
mailing list