Timestamp/Timezone - does this make sense?

Поиск
Список
Период
Сортировка
От Mike Harding
Тема Timestamp/Timezone - does this make sense?
Дата
Msg-id 1171337909.59358.17.camel@mvh.et.com
обсуждение исходный текст
Ответы Re: Timestamp/Timezone - does this make sense?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Timestamp/Timezone - does this make sense?  (Berend Tober <btober@ct.metrocast.net>)
Список pgsql-general
mvh=> set time zone 'UTC';
SET
mvh=> select now();
              now
-------------------------------
 2007-02-13 03:37:35.660652+00
(1 row)

mvh=> select timestamp with time zone '2007-01-01' at time zone
'America/Los_Angeles';
      timezone
---------------------
 2006-12-31 16:00:00
(1 row)

mvh=> select timestamp '2007-01-01' at time zone 'America/Los_Angeles';
timezone
------------------------
 2007-01-01 08:00:00+00
(1 row)

Where does that extra 8 hours come from?



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_get_serial_sequence is inconsistent
Следующее
От: "Shoaib Mir"
Дата:
Сообщение: Re: Dumb question - how to tell if autovacuum is doing its job in 8.2.x