Re: timestamp arithmetic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timestamp arithmetic
Дата
Msg-id 13000.1103246696@sss.pgh.pa.us
обсуждение исходный текст
Ответ на timestamp arithmetic  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-bugs
"Ed L." <pgsql@bluepolka.net> writes:
> Note the queries below generate the same result regardless of the timezone input:

This isn't a bug.  Per documentation:

: For timestamp [without time zone], any explicit time zone specified in
: the input is silently ignored. That is, the resulting date/time value is
: derived from the explicit date/time fields in the input value, and is
: not adjusted for time zone.

You want to use timestamp with time zone (timestamptz), I think.

            regards, tom lane

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