osm2pgsql received a new table layout for the middle tables in 1.10, which became the default in 1.11. Nominatim needs the middle table to look up node-way relations and members of waterways and interpolations.
This PR adds support for the new middle format. Nominatim will detect which version of the middle is used and adapt its functions accordingly, so you can still use older versions of osm2pgsql.
osm2pgsql received a new table layout for the middle tables in 1.10, which became the default in 1.11. Nominatim needs the middle table to look up node-way relations and members of waterways and interpolations.
This PR adds support for the new middle format. Nominatim will detect which version of the middle is used and adapt its functions accordingly, so you can still use older versions of osm2pgsql.
Fixes #3336.