]> git.openstreetmap.org Git - nominatim.git/commitdiff
use "char" type when refering to osm_type column
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 4 Jun 2017 12:34:01 +0000 (14:34 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 4 Jun 2017 12:48:53 +0000 (14:48 +0200)
When using an explicit cast to char(1) when refering to the
osm_type column postgres won't use the index in some cases.
Observed only on postgres 9.5 from the original Postgres
reporsitories.

Fixes #741.


No differences found