Re: random() function produces wrong range

Поиск
Список
Период
Сортировка
От Guo Bin
Тема Re: random() function produces wrong range
Дата
Msg-id 20000802065444.9055.qmail@web218.mail.yahoo.com
обсуждение исходный текст
Ответ на random() function produces wrong range  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: random() function produces wrong range
Следующее
От: Nico D
Дата:
Сообщение: set-of-pointer valued attributes - help!