pgsql: Improve documentation of random() function.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve documentation of random() function.
Date: 2015-01-21 02:22:04
Message-ID: E1YDkvk-00049b-SX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_0_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bernd Helmle 2015-01-21 10:32:59 Re: Re: [COMMITTERS] pgsql: Disable -faggressive-loop-optimizations in gcc 4.8+ for pre-9.2
Previous Message Robert Haas 2015-01-21 01:34:59 pgsql: Disable abbreviated keys on Windows.