Try using double colon opperator instead of cast().
E. g. task_start::date
Regards, Amul ---------------------------------------------------------------------------------------------------- Sent from a mobile device. Please excuse brevity and tpyos.
On Mon, 5 Sep, 2016 at 8:29 am, Patrick Baker [via PostgreSQL]