Re: random() function produces wrong range

From: Guo Bin <guobin_(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org, pgsql-general(at)postgreSQL(dot)org
Subject: Re: random() function produces wrong range
Date: 2000-08-02 06:54:44
Message-ID: 20000802065444.9055.qmail@web218.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)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/

Browse pgsql-hackers by date

  From Date Subject
Next Message Nico D 2000-08-02 06:57:11 set-of-pointer valued attributes - help!
Previous Message Thomas Lockhart 2000-08-02 06:10:34 Re: [HACKERS] random() function produces wrong range