[postgis-devel] [PostGIS] #1078: ST_Difference with NULL as second argument

PostGIS trac at osgeo.org
Wed Jun 29 14:55:27 PDT 2011


#1078: ST_Difference with NULL as second argument
---------------------+------------------------------------------------------
 Reporter:  nicklas  |       Owner:  nicklas      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 Take this to the devel list. It's ok for st_difference(geometry, empty).
 But NULL has special expectations in a database. See the difference
 between
 {{{
 select btrim('this', 't');
 select btrim('this', NULL);
 }}}
 for an analogue to your case.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1078#comment:1>
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