[PostGIS] #5932: Cast from TopoElement to TopoElementArray fails

PostGIS trac at osgeo.org
Fri Jun 27 12:10:52 PDT 2025


#5932: Cast from TopoElement to TopoElementArray fails
---------------------+---------------------------
 Reporter:  latot    |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.5.4
Component:  postgis  |    Version:  3.5.x
 Keywords:           |
---------------------+---------------------------
 Hi!, actually there is a mystery cast function to move from TopoElement to
 TopoElementArray, but this instead of return the right type just keeps as
 TopoElement.


 {{{
 SELECT ARRAY[1, 2]::topoelement::topoelementarray;
  array
 -------
  {1,2}
 (1 fila)
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5932>
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