Re: random() function produces wrong range - Mailing list pgsql-hackers

From Guo Bin
Subject Re: random() function produces wrong range
Date
Msg-id 20000802065444.9055.qmail@web218.mail.yahoo.com
Whole thread Raw
In response to random() function produces wrong range  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hope this function won't be removed. I'm using it
to select a random row like "select xxx from yyy
order by random() limit 1". It's painful to do it
before 7.0.

Regards,
-- 
Guo Bin

--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> As far as I can find, random() isn't mentioned in the
> documentation
> currently, so there probably aren't many people using
> it...
> 
>             regards, tom lane


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: random() function produces wrong range
Next
From: Nico D
Date:
Subject: set-of-pointer valued attributes - help!