]> git.openstreetmap.org Git - nominatim.git/commit
replace ST_Line_Interpolate_Point with ST_LineInterpolatePoint (DB adaption needed)
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 6 Feb 2014 07:04:42 +0000 (08:04 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 7 Feb 2014 19:10:14 +0000 (20:10 +0100)
commite0b1e3b66d54c4fe9907edb1ff993f33e6739d46
tree9693904fecc2a688a51dbb3f39562b9d3f6b32c9
parentedc5733715a65158919c1abc4d765b754f5dc659
replace ST_Line_Interpolate_Point with ST_LineInterpolatePoint (DB adaption needed)

Name of function was changed in postgis 2.1 and now prints ugly
deprecation warnings. For older versions of postgis, function
will be renamed to the new name during the setup of the DB.

To update existing databases with postgis < 2.1 run:

ALTER FUNCTION st_line_interpolate_point(geometry, double precision) RENAME TO ST_LineInterpolatePoint

and then reinstall the SQL functions:

./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
sql/functions.sql
sql/partition-functions.src.sql
sql/tiger_import_start.sql
utils/setup.php