Re: TIMESTAMP vs TIMESTAMP WITHOUT TIME ZONE

Поиск
Список
Период
Сортировка
От Shane
Тема Re: TIMESTAMP vs TIMESTAMP WITHOUT TIME ZONE
Дата
Msg-id 20051110224428.GA20308@cm.nu
обсуждение исходный текст
Ответ на Re: TIMESTAMP vs TIMESTAMP WITHOUT TIME ZONE  (juleni@livetrade.cz)
Ответы Re: TIMESTAMP vs TIMESTAMP WITHOUT TIME ZONE  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
On Thu, Nov 10, 2005 at 06:01:22PM +0100, juleni@livetrade.cz wrote:
> Thanks for answer, I will use TIMESTAMP WITH TIMEZONE.

The only thing I would add is you don't seem to be able to
index a part of the timestamp with time zone value.  As an
example, I had a table with around 10m rows where I wanted
to query by date.  In order to add an index liki
date_part(mytimestamp), you need to use timestamp without
time zone.

S

--
http://www.cm.nu/~shane/

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

Предыдущее
От: Dianne Yumul
Дата:
Сообщение: Restoring from filesystem backup
Следующее
От: Dennis Veatch
Дата:
Сообщение: A good postgresql book