Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist - Mailing list pgsql-general

From Nico Grubert
Subject Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist
Date
Msg-id 49B0C9E0.5050505@gmail.com
Whole thread Raw
In response to Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist  (Scott Marlowe <scott.marlowe@gmail.com>)
Responses Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist
Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist
List pgsql-general
> OK, so you want to see if a timestamp is greater than now()?  Why not
> just compare them?
>
> where a.from_datetime >= now()

No, not the whole timestamp. I dont want to check the time.
So I had to truncate the datetime with:

date_trunc('day', a.from_datetime) >= date_trunc('day', NOW())

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist
Next
From: Scott Marlowe
Date:
Subject: Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist