[postgis-tickets] [PostGIS] #4299: st_generatepoints declared IMMUTABLE

PostGIS trac at osgeo.org
Fri Jan 18 05:39:33 PST 2019


#4299: st_generatepoints declared IMMUTABLE
----------------------+---------------------
  Reporter:  pnorman  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:
 Component:  postgis  |    Version:  2.3.x
Resolution:           |   Keywords:
----------------------+---------------------

Comment (by komzpa):

 https://postgis.net/docs/ST_GeneratePoints.html says "ST_GeneratePoints
 generates pseudo-random points until the requested number are found within
 the input area". There is no guarantee that sequence will be the same or
 not the same each time. IMMUTABLE only affects caching in Postgres as for
 now, and per current documentation it's okay to cache ST_GeneratePoints
 output for the same polygon. Will a note about this behavior be
 sufficient?

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4299#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-tickets mailing list