pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pedro Gimeno <pgsql-004@personal.formauri.es>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12589: Poor randomness from random() with some seeds; poor resolution
Date: Tue, 20 Jan 2015 21:23:15 -0500
Message-ID: <2409.1421806995@sss.pgh.pa.us> (raw)
In-Reply-To: <54BDEE5A.5040008@personal.formauri.es>
References: <20150118175056.1983.60420@wrigleys.postgresql.org>
	<25876.1421680975@sss.pgh.pa.us>
	<54BD410D.2090709@personal.formauri.es>
	<10225.1421722783@sss.pgh.pa.us>
	<54BDEE5A.5040008@personal.formauri.es>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Pedro Gimeno <pgsql-004@personal.formauri.es> writes:
> Tom Lane wrote, On 2015-01-20 03:59:
>> The characteristics of the values returned by random() depend on
>> the system implementation.
>> 
>> That seems to me to be a sufficient "caveat".

> That caveat is not in the 9.1 manual which is the version I reported
> this issue against.

Good point.  It looks like Heikki added that text in 9.4, and didn't
back-patch.

> Can it be backported to the versions of the manual where it applies?

Done.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <2409.1421806995@sss.pgh.pa.us>
Permalink:  ../2409.1421806995@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2409.1421806995@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-004@personal.formauri.es
  Subject: Re: BUG #12589: Poor randomness from random() with some seeds; poor resolution
  In-Reply-To: <2409.1421806995@sss.pgh.pa.us>
  References: <20150118175056.1983.60420@wrigleys.postgresql.org> <25876.1421680975@sss.pgh.pa.us> <54BD410D.2090709@personal.formauri.es> <10225.1421722783@sss.pgh.pa.us> <54BDEE5A.5040008@personal.formauri.es> <2409.1421806995@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox