how to cast for dates/datetimes? - Mailing list pgsql-novice

From D. Duccini
Subject how to cast for dates/datetimes?
Date
Msg-id Pine.GSO.4.03.10008211820550.21654-100000@ra.bpsi.net
Whole thread Raw
List pgsql-novice
how do i get around this?

select sum(total) from lineitemsnext where date <= ('now'::date + '1
month'::timespan);

ERROR:  Unable to identify an operator '<=' for types 'date' and
'datetime'
        You will have to retype this query using an explicit cast



-----------------------------------------------------------------------------
david@backpack.com            BackPack Software, Inc.        www.backpack.com
+1 651.645.7550 voice       "Life is an Adventure.
+1 651.645.9798 fax            Don't forget your BackPack!"
-----------------------------------------------------------------------------


pgsql-novice by date:

Previous
From: doug@dupreeinc.com
Date:
Subject: Re: How to connect applet to different SQL server.
Next
From: Dave_Pfaltzgraff@patapsco.com
Date:
Subject: Re: how to cast for dates/datetimes?