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

PostGIS trac at osgeo.org
Mon Jan 21 16:34:29 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 Mike Taves):

 Another reason for the behavior in the email is because the RNG is
 initialized with `srand(time(NULL));`, which means if you re-run the query
 multiple times within one clock second, you will get the same results.
 (Try it, but you need to be quick!)

 I'll try to address this ticket with #4304

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