Opened 14 months ago

Last modified 12 months ago

#5527 new defect

Confusing error from ST_FromFlatGeoBuf

Reported by: strk Owned by: Björn Harrtell
Priority: medium Milestone: PostGIS 3.5.0
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 (3)

comment:1 by pramsey, 14 months ago

Owner: changed from pramsey to Björn Harrtell

comment:2 by pramsey, 14 months ago

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

comment:3 by robe, 12 months ago

Milestone: PostGIS 3.4.1PostGIS 3.5.0
Note: See TracTickets for help on using tickets.