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
49B0C988.7050003@gmail.com
Ответ на
Список
Дерево обсуждения
After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist Nico Grubert <nicogrubert@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 Nico Grubert <nicogrubert@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>
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 Nico Grubert <nicogrubert@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 Scott Marlowe <scott.marlowe@gmail.com>
Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist Nico Grubert <nicogrubert@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>
Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist Nico Grubert <nicogrubert@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 Tom Lane <tgl@sss.pgh.pa.us>

> This query makes little sense.  Why are you trying to convert a
> timestamp to a timestamp?  Is this a bizarre substitute for date_trunc()?

Got it:
Thanks for the "date_trunc" tip.

This query works fine:
date_trunc('day', a.from_datetime) >= date_trunc('day', NOW())
В списке pgsql-general по дате отправления
От: Scott Marlowe
Дата:
От: Scott Marlowe
Дата:
FAQ