Re: not exactly a bug report, but surprising behaviour

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: not exactly a bug report, but surprising behaviour
Дата
Msg-id 20030204195439.GA6016@wolff.to
обсуждение исходный текст
Ответ на not exactly a bug report, but surprising behaviour  (Gregory Stark <gsstark@mit.edu>)
Список pgsql-general
On Tue, Feb 04, 2003 at 14:11:20 -0500,
  Gregory Stark <gsstark@mit.edu> wrote:
>
> It seems the sort operation is done very late in the process, after functions
> in the select column list have already been called and the results stored.
> This makes using sequences to generate a sequential list of numbers have a
> surprising behaviour.

You can't count on that behavior anyway. Sequences only guarenty a unique
number. Other transactions can grab values from the sequence while
your transaction is running.

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

Предыдущее
От: RobertD.Stewart@mail.state.ky.us
Дата:
Сообщение: Re: now() more precise than the transaction
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Drop constraint in PostgreSQL 7.1.2