[postgis-devel] [PostGIS] #541: unique constraint on geography not enforced on update

PostGIS trac at osgeo.org
Thu Jun 10 02:22:17 PDT 2010


#541: unique constraint on geography not enforced on update
---------------------+------------------------------------------------------
 Reporter:  arno     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 1.5.2
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------
 Hi,
 when creating a column of type geography, and declaring it as unique, I
 can't insert two rows with similar geography (that's normal). But I can
 insert a point with a different geography, and update it afterwards. I'll
 insert a sql example to be more clear.

 The bug does not appear when using geometry instead of geography.

-- 
Ticket URL: <http://newtrac.osgeo.org/postgis/ticket/541>
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