Re: random() function documentation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: random() function documentation
Date
Msg-id 496078.1649704787@sss.pgh.pa.us
Whole thread Raw
In response to Re: random() function documentation  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Responses Re: random() function documentation  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-hackers
=?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= <ilmari@ilmari.org> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> How about we just say "uses a linear-feedback shift register algorithm"?

> That works for me.  Nice and simple, and not overly specific.  Should we
> perhaps also add a warning that the same seed is not guaranteed to
> produce the same sequence across different (major?) versions?

I wouldn't bother, on the grounds that then we'd need such disclaimers
in a whole lot of places.  Others might see it differently though.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: How about a psql backslash command to show GUCs?
Next
From: Robert Haas
Date:
Subject: Re: API stability [was: pgsql: Fix possible recovery trouble if TRUNCATE overlaps a checkpoint.]