Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Nominatim "setup.php --update" can fail when are multiple schemas in database #5037

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: pedro'
[Submitted to the original trac issue database at 11.00am, Wednesday, 20th November 2013]

I have multiple Nominatim's instances in different schemas in one PG database. In this case, Nominatim can fail when updating it from changes.osc.gz. We need to carry about schema when testing if class table exists.

Fix is trivial, see attached patch.

Nominatim version is 2.1

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 12.39pm, Saturday, 23rd November 2013]

Merged in [https://github.com/twain47/Nominatim/commit/cbbcc2618fe6bb79a8d7ddfb84c806d90631ff33 cbbcc2618f]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant