Opened 5 years ago

Closed 5 years ago

#4476 closed defect (fixed)

st_geomfromgeojson(jsonb) and st_geomfromgeojson(json) does not exist

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.4.8
Component: postgis Version: 2.4.x
Keywords: Cc:

Description

Getting this on debbie's PG10 run for 2.4

 in_geojson .. failed (diff expected obtained: /var/lib/jenkins/workspace/postgis/tmp/2_4_pg10w64/test_117_diff)
-----------------------------------------------------------------------------
--- in_geojson_expected	2019-08-04 07:40:28.676910327 +0000
+++ /var/lib/jenkins/workspace/postgis/tmp/2_4_pg10w64/test_117_out	2019-08-11 03:00:06.409829129 +0000
@@ -4,8 +4,8 @@
 geomfromgeojson_04|LINESTRING(0 0,1 1)
 geomfromgeojson_05|POLYGON((0 0,1 1,1 0,0 0))
 geomfromgeojson_06|MULTIPOLYGON(((0 0,1 1,1 0,0 0)))
-geomfromgeojson_07|MULTIPOLYGON(((0 0,1 1,1 0,0 0)))
-geomfromgeojson_08|MULTIPOLYGON(((0 0,1 1,1 0,0 0)))
+ERROR:  function st_geomfromgeojson(json) does not exist at character 39
+ERROR:  function st_geomfromgeojson(jsonb) does not exist at character 39
 #1434: Next two errors
 ERROR:  Unable to find 'coordinates' in GeoJSON string
 ERROR:  unexpected character (at offset 0)
-----------------------------------------------------------------------------

Why is this in a 2.4 test. These functions weren't introduced until 2.5

Change History (2)

comment:1 by robe, 5 years ago

Summary: st_geomfromgeojson(jsonb) and st_geomfromgeojson(json)st_geomfromgeojson(jsonb) and st_geomfromgeojson(json) does not exist
Version: 2.5.x2.4.x

comment:2 by robe, 5 years ago

Resolution: fixed
Status: newclosed

In 17690:

Take out ST_GeomFromJSON - json, jsonb versions. These weren't introduced until 2.5
Closes #4476

Note: See TracTickets for help on using tickets.