Re: datetime

Поиск
Список
Период
Сортировка
От Jean-Christian Imbeault
Тема Re: datetime
Дата
Msg-id 3E001CB8.5040705@mega-bucks.co.jp
обсуждение исходный текст
Ответ на datetime  ("Pramod R. Bhagwat" <pramod@ncoretech.com>)
Список pgsql-general
Pramod R. Bhagwat wrote:
 >
 > Hi JC,
 > i tried above but it doesn't work i got following error
 > ERROR:  Cannot cast type 'integer' to 'timestamp with time zone'

Oops ... forgot you can't force an int to be a timestamp.

Don't know the answer to your question. But to help you in the long run
how about convertinf your column definition from int to timnestamp (if
it really is a timestamp it should be of that type and not int).

Jc



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

Предыдущее
От: Arindam Haldar
Дата:
Сообщение: unsubscribe
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: 2 gig file limit (yes I know, read anyway ;))