Skip to content

Conversation

@lonvia
Copy link
Collaborator

@lonvia lonvia commented Aug 19, 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.

Puts the index tests to where all the other tests reside and
adds actual tests for the presence of the indexes. Needs some
regular expression matching of the values.
@joto joto merged commit cff21ad into osm2pgsql-dev:master Aug 19, 2025
43 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating a primary key on the id columns does not work

2 participants