Skip to content

Conversation

@lonvia
Copy link
Collaborator

@lonvia lonvia commented Apr 13, 2025

Trying to insert anything into a table that has no id column defined currently fails with:

Error in 'insert': Trying to add node to table 'foo'

That's because we have added sanity checks to match the currently handled object type to the table. The check used to let id-less tables pass until a6d6ab1 added a special enum type for id types which distinguishes between "any" and "no_index" id columns.

@joto joto merged commit 3f297a3 into osm2pgsql-dev:master Apr 13, 2025
24 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.

2 participants