]> granicus.if.org Git - postgresql/commit
Document and enforce that the usable range of setseed() arguments is
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Mar 2008 12:39:23 +0000 (12:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Mar 2008 12:39:23 +0000 (12:39 +0000)
commit23c356ccecaf10665777c05fac414466b7d5793d
tree81e263f9f7dcc54883d5ff6e898acbe78de3ca65
parentbfce56eea45b1369b7bb2150a150d1ac109f5073
Document and enforce that the usable range of setseed() arguments is
-1 to 1, not 0 to 1.  The actual behavior for values within this range
does not change.  Kris Jurka
doc/src/sgml/func.sgml
doc/src/sgml/ref/set.sgml
src/backend/utils/adt/float.c
src/backend/utils/misc/guc.c