[fdo-trac] #354: PostGIS Defect : cursor name conflict make provider crash

FDO trac_fdo at osgeo.org
Wed Jul 2 08:56:43 EDT 2008


#354: PostGIS Defect : cursor name conflict make provider crash
--------------------------------+-------------------------------------------
   Reporter:  bscott            |       Owner:  mloskot
       Type:  defect            |      Status:  new    
   Priority:  blocker           |   Milestone:  3.4.0  
  Component:  PostGIS Provider  |     Version:  3.2.0  
   Severity:  1                 |    Keywords:         
External_id:                    |  
--------------------------------+-------------------------------------------
 the CreateCursor function uses a fixed string + the current date and time
 for a unique cursor name.
 I have found many cases where 2 or more cursor are created in the same
 second, so the provider crashes with the "Cursor already exist" PostGIS
 message.

 Adding a random number at the end of the unique cursor name calculation
 should resolve this issue.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/354>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list