]> git.openstreetmap.org Git - nominatim.git/commit
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)
commit2dd7f0156a84ef07b808244faa2d42c384e9da32
treec1bf75c707a905a0d1f006e15dab7c93cbb26185
parent5b8672c10a23d65ef5f4f16d057ceae827685bcf
use "char" type when refering to osm_type column

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.
sql/functions.sql