[postgis-tickets] [PostGIS] #5005: ST_FlatGeoBuf crashes on table with dupe values

PostGIS trac at osgeo.org
Tue Oct 5 16:59:49 PDT 2021


#5005: ST_FlatGeoBuf crashes on table with dupe values
-----------------------+---------------------------
  Reporter:  robe      |      Owner:  pramsey
      Type:  defect    |     Status:  new
  Priority:  critical  |  Milestone:  PostGIS 3.2.0
 Component:  postgis   |    Version:  master
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by robe):

 example borrowed from #5000


 {{{
 DROP TABLE IF EXISTS foo;
 CREATE TABLE foo AS
 SELECT *
 FROM (
 VALUES
  ('POINT(0 0)'::geometry, 'one', 1)
 ,('POINT(1 1)'::geometry, 'two', 2)
 ) AS v(g,b,i);

 SELECT ST_ASFlatGeobuf(foo) OVER(ORDER BY i)
 FROM foo;
 }}}

 This one gives an odd error:


 {{{
 ERROR:  tupdesc reference 00000000084DD450 is not owned by resource owner
 Portal
 SQL state: XX000
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5005#comment:3>
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