[Tile-serving] [openstreetmap/osm2pgsql] Fix: Flex output could create two id indexes on the same table (#1315)

Jochen Topf notifications at github.com
Mon Nov 9 10:24:41 UTC 2020


The flex output could create two id indexes on the same table. This
happened for tables without geometry when 2-stage processing was used.
This fix keeps track of the id indexes on tables and never creates
an index if it already has one.

Fixes #1312
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix: Flex output could create two id indexes on the same table

-- File Changes --

    M src/flex-table.cpp (18)
    M src/flex-table.hpp (8)
    M src/output-flex.cpp (2)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1315.patch
https://github.com/openstreetmap/osm2pgsql/pull/1315.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/1315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201109/5898988a/attachment.htm>


More information about the Tile-serving mailing list