Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist

Поиск
Список
Период
Сортировка
От Nico Grubert
Тема Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist
Дата
Msg-id 49B0C865.6010905@gmail.com
обсуждение исходный текст
Ответ на Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist  (Scott Marlowe <scott.marlowe@gmail.com>)
Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist  (Scott Marlowe <scott.marlowe@gmail.com>)
Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist  ("Adam Rich" <adam.r@sbcglobal.net>)
Список pgsql-general
> This query makes little sense.  Why are you trying to convert a
> timestamp to a timestamp?  Is this a bizarre substitute for date_trunc()?

The "from_datetime" column is of type "timestamp" but I want to check
only the date, not the time.
In this example I want to retrieve all records whose "from_datetime" is
e.g. >= 2009/05/06 (Now()) so I'd like to get results with a
"from_datetime" like e.g.
- 2009/05/06 00:05:00
- 2009/05/06 23:30:00
- 2009/05/07 10:15:00

Regards
Nico

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

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: merging 2 databases
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist