Re: Assigning a timestamp without timezone to a timestamp

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assigning a timestamp without timezone to a timestamp
Дата
Msg-id 7622.1160969464@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Assigning a timestamp without timezone to a timestamp  (chrisj <chrisj.wood@sympatico.ca>)
Ответы Re: Assigning a timestamp without timezone to a timestamp  (chrisj <chrisj.wood@sympatico.ca>)
Список pgsql-sql
chrisj <chrisj.wood@sympatico.ca> writes:
> Did not seem to help:
> ERROR:  invalid input syntax for type timestamp with time zone: "2006-07-13
> 09:20:00 America/New_York"

Sorry, I was thinking in terms of CVS HEAD ... the ability to use a full
timezone spec in timestamptz input is new for 8.2.  You might be able to
use this, which does work in 8.1:

select '2006-07-13 09:20:00'::timestamp at time zone 'EST5EDT';   
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Recursive pl/pgsql function ...
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Recursive pl/pgsql function ...