]> granicus.if.org Git - postgis/commitdiff
Don't forget "OR REPLACE" in "CREATE FUNCTION!"
authorSandro Santilli <strk@kbt.io>
Thu, 26 Oct 2017 08:52:00 +0000 (08:52 +0000)
committerSandro Santilli <strk@kbt.io>
Thu, 26 Oct 2017 08:52:00 +0000 (08:52 +0000)
Fixes #3919

git-svn-id: http://svn.osgeo.org/postgis/trunk@16066 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/postgis.sql.in

index 58d0946616210ec24d9d1845ffc707c5e85d85d9..5b969a9707b63643ad3589324134b48778a76ec1 100644 (file)
@@ -413,7 +413,7 @@ CREATE OPERATOR CLASS btree_geometry_ops
 --
 
 -- Availability: 2.5.0
-CREATE FUNCTION geometry_hash(geometry)
+CREATE OR REPLACE FUNCTION geometry_hash(geometry)
        RETURNS integer
        AS 'MODULE_PATHNAME','lwgeom_hash'
        LANGUAGE 'c' STRICT IMMUTABLE _PARALLEL;