[postgis-tickets] [PostGIS] #5527: Confusing error from ST_FromFlatGeoBuf
PostGIS
trac at osgeo.org
Mon Sep 4 02:54:53 PDT 2023
#5527: Confusing error from ST_FromFlatGeoBuf
---------------------+---------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.4.1
Component: postgis | Version: 3.4.x
Keywords: |
---------------------+---------------------------
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
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5527>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list