Re: random escape function

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: random escape function
Дата
Msg-id Pine.BSO.4.64.0704111339530.11607@leary.csoft.net
обсуждение исходный текст
Ответ на Re: random escape function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc

On Wed, 11 Apr 2007, Tom Lane wrote:

> Kris Jurka <books@ejurka.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

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

Предыдущее
От: Hartmut Benz
Дата:
Сообщение: Re: Small addition to PGInterval
Следующее
От: "Radim Kolar SF.NET"
Дата:
Сообщение: scrollable result sets performance problems