Re: timestamp as primary key?

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: timestamp as primary key?
Дата
Msg-id 20061019155008.GX71084@nasby.net
обсуждение исходный текст
Ответ на Re: timestamp as primary key?  (AgentM <agentm@themactionfaction.com>)
Список pgsql-general
On Thu, Oct 19, 2006 at 10:36:29AM -0400, AgentM wrote:
> Only if each message is contained in its own transaction since now()
> is effectively a constant throughout a transaction. In this case, I
> would choose a surrogate key since it is likely that the table will
> be referenced.

See timeofday().
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Interval referential integrity
Следующее
От: "Sandeep Kumar Jakkaraju"
Дата:
Сообщение: Re: PostGIS