[Tile-serving] [openstreetmap/osm2pgsql] Middle cleanup queries (#1270)

Jochen Topf notifications at github.com
Wed Sep 2 17:57:38 UTC 2020


Cleaning up some unused queries and such in middle. See individual commits.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1270

-- Commit Summary --

  * Remove unused query in middle to get ways from relations
  * Remove unused query in middle to get relations from relations
  * Remove unused array_upper() columns from queries
  * Remove unused relations_using_way() function in middle
  * Reorder columns in query for cleaner code
  * Consolidate code creating id lists into a new class
  * Do not set up indexes and statements in middle when gazetteer is in use

-- File Changes --

    M src/middle-pgsql.cpp (131)
    M src/middle-pgsql.hpp (4)
    M src/middle-ram.cpp (6)
    M src/middle-ram.hpp (2)
    M src/middle.hpp (8)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1270.patch
https://github.com/openstreetmap/osm2pgsql/pull/1270.diff

-- 
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/1270
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200902/9fd17e54/attachment.htm>


More information about the Tile-serving mailing list