Re: Bug? Me or PostgreSQL.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug? Me or PostgreSQL.
Дата
Msg-id 21084.982561021@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug? Me or PostgreSQL.  (Christopher Sawtell <csawtell@xtra.co.nz>)
Список pgsql-sql
Christopher Sawtell <csawtell@xtra.co.nz> writes:
> How can this happen?

> chris=# select name from boys_names where 
> boys_names.number=(random()*225+1)::int4;
>   name
> --------
>  Fred
>  Gunnar
>  Manuel
>  Rainer
> (4 rows)

Er, what's your complaint exactly?  It's not obvious to me that
there's anything wrong here.  You seem to have gotten random
matches on four rows --- if that's ridiculously too low (or too
high) you'd better explain why you think so.
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Christopher Sawtell
Дата:
Сообщение: Bug? Me or PostgreSQL.
Следующее
От: Tod McQuillin
Дата:
Сообщение: Re: Bug? Me or PostgreSQL.