[Tile-serving] [osm2pgsql-dev/osm2pgsql] Move and fix tests for unique and primary key id indexes (PR #2382)

Sarah Hoffmann notifications at github.com
Tue Aug 19 07:32:24 UTC 2025


We already have a bunch of BDD tests for index creation which check that the index exists. The tests for unique and primary key ID index were still in a different file for some reason. This PR moves the tests to the other index tests, adds checks that the indexes are created and fixes the bad 'index' parameter.

Also adds a new syntax for allowing regex comparison.

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

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2382

-- Commit Summary --

  * move and fix tests for unique and primary key id indexes

-- File Changes --

    M tests/bdd/flex/lua-index-definitions.feature (48)
    M tests/bdd/flex/lua-table-definitions.feature (34)
    M tests/bdd/steps/steps_db.py (14)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2382.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2382.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2382
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2382 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250819/9cbbfa09/attachment.htm>


More information about the Tile-serving mailing list