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

From: Nico Grubert <nicogrubert(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist
Date: 2009-03-06 06:58:16
Message-ID: 49B0C988.7050003@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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()?

Got it:
Thanks for the "date_trunc" tip.

This query works fine:
date_trunc('day', a.from_datetime) >= date_trunc('day', NOW())

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-03-06 06:59:07 Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist
Previous Message Scott Marlowe 2009-03-06 06:57:24 Re: After Upgrade from 8.2.6 to 8.3.6: function to_timestamp does not exist