[postgis-devel] [PostGIS] #956: SELECT (SRF()).* -> SELECT * FROM SRF()

PostGIS trac at osgeo.org
Tue May 17 02:37:21 PDT 2011


#956: SELECT (SRF()).* -> SELECT * FROM SRF()
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  task      |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 I've discovered that calling:
 {{{
 SELECT (SRF())*;
 }}}

 Calls SRF() once for each column in output.
 As of version 8.4 this also happens if SRF() is defined as STABLE (didn't
 check the IMMUTABLE case).

 It should be checked if ST_Dump suffers from this and carefully
 look for its uses (there should be a few in topology)

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