Re: [SQL] is current_timestamp unique for a transaction?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: [SQL] is current_timestamp unique for a transaction?
Дата
Msg-id 20030216042851.GA2273@wolff.to
обсуждение исходный текст
Ответ на is current_timestamp unique for a transaction?  (Alan Gutierrez <ajglist@izzy.net>)
Список pgsql-general
On Sat, Feb 15, 2003 at 21:49:34 -0600,
  Alan Gutierrez <ajglist@izzy.net> wrote:
>
> Is current_timestamp(6) garunteed to be unique for each transaction?

No.

If you want guarenteed uniqueness use a sequence.

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

Предыдущее
От: Dima Tkach
Дата:
Сообщение: Re: Index not used with IS NULL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index not used with IS NULL