Opened 16 months ago

Last modified 7 days ago

#5527 new defect

Confusing error from ST_FromFlatGeoBuf

Reported by: strk Owned by: Björn Harrtell
Priority: medium Milestone: PostGIS 3.5.2
Component: postgis Version: 3.4.x
Keywords: Cc:

Description

Running this:

select st_fromflatgeobuf(NULL::int,NULL::bytea);

You get this:

ERROR: function returning record called in context that cannot accept type record

The error is very confusing and needlessly so, as the message is hard-coded in PostGIS itself: https://git.osgeo.org/gitea/postgis/postgis/src/tag/3.4.0/postgis/lwgeom_in_flatgeobuf.c#L176

Change History (6)

comment:1 by pramsey, 16 months ago

Owner: changed from pramsey to Björn Harrtell

comment:2 by pramsey, 16 months ago

Owner: changed from Björn Harrtell to Björn Harrtell

comment:3 by robe, 13 months ago

Milestone: PostGIS 3.4.1PostGIS 3.5.0

comment:4 by robe, 3 months ago

Milestone: PostGIS 3.5.0PostGIS 3.4.4

comment:5 by robe, 7 days ago

Milestone: PostGIS 3.4.4PostGIS 3.5.1

comment:6 by robe, 7 days ago

Milestone: PostGIS 3.5.1PostGIS 3.5.2
Note: See TracTickets for help on using tickets.