Timestamp with timezone question.

Поиск
Список
Период
Сортировка
От Achilleus Mantzios
Тема Timestamp with timezone question.
Дата
Msg-id Pine.LNX.4.44.0502211557140.7123-100000@matrix.gatewaynet.com
обсуждение исходный текст
Ответы Re: Timestamp with timezone question.  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-sql
AFAIK, the input for a timestamptz is converted and stored as UTC.
And outputing a timezonetz value converts the internally stored UTC
value to the current locale's timezone.

So there is not a way to actually store the original TZ itself,
whereas the timetz type clearly does that.

Consider a schema designed to store internet mail.

Since pgsql always converts a timestamptz to UTC, we have lost
the information of the Sender's local timezone.

Should i go with a separete date and timetz ?

-- 
-Achilleus



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

Предыдущее
От: pginfo
Дата:
Сообщение: Re: pg primary key bug?
Следующее
От: George Weaver
Дата:
Сообщение: Re: Working with XML.