Opened 5 years ago

Closed 5 years ago

#5037 closed defect (fixed)

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

Reported by: pedro' Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: nominatim update postgresql function schema Cc:

Description

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

Attachments (1)

functions.sql.patch (1.1 KB) - added by pedro' 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by pedro'

Attachment: functions.sql.patch added

comment:1 Changed 5 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Merged in cbbcc2618f

Note: See TracTickets for help on using tickets.