Re: timestamp with time zone

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: timestamp with time zone
Дата
Msg-id dcc563d10712130857j633aa80fvcc71a86bbce50133@mail.gmail.com
обсуждение исходный текст
Ответ на timestamp with time zone  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-general
On Dec 12, 2007 11:10 PM, Tatsuo Ishii <ishii@sraoss.co.jp> wrote:
> Hi,
>
> Can someone enlighten me?
>
> I know that I can insert date/time data along with time zone info into
> the timestamp with time zone data type. My question is, can I extract
> the *original* time zone info afterward? I seems impossible.

Yep, that's correct.  Basically, when you store a timestamp with
timezone, postgresql converts it to UTC and stores that.  when you get
it back, it converts it to the timezone of the client currently
connected. If you want to store the timezone you'll have to create
another field to hold that.

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: index organized tables use case
Следующее
От: Erik Jones
Дата:
Сообщение: Re: autovacuum log?