Re: Generating random unique alphanumeric IDs

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: Generating random unique alphanumeric IDs
Дата
Msg-id 20090817131117.GE5407@samason.me.uk
обсуждение исходный текст
Ответ на Re: Generating random unique alphanumeric IDs  (Jasen Betts <jasen@xnet.co.nz>)
Список pgsql-general
On Mon, Aug 17, 2009 at 12:17:29PM +0000, Jasen Betts wrote:
> On 2009-08-17, Sam Mason <sam@samason.me.uk> wrote:
> (i.e. their internal state is the same as
> > it was before) but individual numbers *will* be repeated.
>
> numbers will not be repeated intil the state wraps if the number
> returned represents the entire state of the LFSR.

Huh, not thought of that!  I'd only considered them for crypto purposes
where this sort of thing would be bad as you'd be able to know exactly
what's coming next.  I'd never considered that this could be a useful
property before!

--
  Sam  http://samason.me.uk/

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

Предыдущее
От: "utsav.turray"
Дата:
Сообщение: Re: ERROR: XLogFlush: request AF/5703EDC8 is not satisfied --- flushed only to AF/50F15ABC
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: comparing NEW and OLD (any good this way?)