Improve documentation of random() function.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Jan 2015 02:21:41 +0000 (21:21 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Jan 2015 02:21:41 +0000 (21:21 -0500)
commitbdde191c1c79d86d43939435bec6a86c15d21041
treefa2692c34366aefbdf4a25a11f52b0c94dc6e9d0
parent89b6a19e1cc9536e782a132b551a5e642db9972a
Improve documentation of random() function.

Move random() and setseed() to a separate table, to have them grouped
together. Also add a notice that random() is not cryptographically secure.

Back-patch of commit 75fdcec14543b60cc0c67483d8cc47d5c7adf1a8 into
all supported versions, per discussion of the need to document that
random() is just a wrapper around random(3).
doc/src/sgml/func.sgml