@Steve:
On Tue, Mar 29, 2011 at 10:09, Steve Crawford
<scrawford(at)pinpointresearch(dot)com> wrote:
> It's the select part that is causing your trouble. Try casting the null to a
> timestamp:
> ...as cost, null::timestamp as start_time...
Bingo. Perfect - thanks.