On Wed, 11 Apr 2007, Tom Lane wrote:
> Kris Jurka <books(at)ejurka(dot)com> writes:
>> Also the spec doesn't say what rand is actually supposed to do. What is
>> the purpose of providing a rand function if you have to supply a seed
>> every single time.
>
> Is it really a seed? Maybe it's supposed to be the desired range of the
> output, or something.
>
All the documentation has to say is "RAND(integer) Random floating point
for seed integer)" so it clearly thinks it's a seed of some kind.
Kris Jurka