pgsql: Improve documentation of random() function. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Improve documentation of random() function.
Date
Msg-id E1YDkvk-00049V-SD@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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).

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b8e5f669910cb5e26fdf3d255e981e875f87a7d7

Modified Files
--------------
doc/src/sgml/func.sgml |   77 +++++++++++++++++++++++++++++++-----------------
1 file changed, 50 insertions(+), 27 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Disable abbreviated keys on Windows.
Next
From: Tom Lane
Date:
Subject: pgsql: Improve documentation of random() function.