[postgis-devel] [PostGIS] #474: Analyzing a table with a "geography" column crashes the PostgreSQL server

PostGIS trac at osgeo.org
Tue Mar 30 14:40:45 PDT 2010


#474: Analyzing a table with a "geography" column crashes the PostgreSQL server
---------------------+------------------------------------------------------
 Reporter:  dtoupin  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 1.5.2
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------
 To reproduce this problem, simply create a table with a geography column
 and populate it:

 {{{
 create table geography_crash (geog geography);
 insert into geography_crash (geog) VALUES (geography('POINT (1 2)')),
 (geography('POINT (1 2)'));
 }}}

 and run this SQL query to get the crash:

 {{{
 analyse geography_crash;
 }}}

 Note that you need to have at least two rows to get the crash.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/474>
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-devel mailing list