From: Nathan Wagner Date: Sun, 3 Oct 2021 22:05:36 +0000 (-0500) Subject: fix incorrect function name X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=642d0032403723b0f6d5448c1e517fa2ebcc9861;p=pgm fix incorrect function name --- diff --git a/functions/colmaps.sql b/functions/colmaps.sql index c6c31c2..62926ca 100644 --- a/functions/colmaps.sql +++ b/functions/colmaps.sql @@ -94,7 +94,7 @@ declare begin if op = 'insert' then if wrapgeom and geomwrapper is null then - geomwrapper:='ST_FromEWKT'; + geomwrapper:='ST_GeomFromEWKT'; end if; q := 'insert into ' || table_oid || ' ' || cols(table_oid, keycol, p := true) @@ -103,7 +103,7 @@ begin ; elsif op = 'update' then if wrapgeom and geomwrapper is null then - geomwrapper:='ST_FromEWKT'; + geomwrapper:='ST_GeomFromEWKT'; end if; q := 'update ' || table_oid || ' set ' || cols(table_oid, null, exclude:=keycol, p := true)