Michael Meskes wrote:
> > cast ( some_timestamp_var as date), '0sec'::interval and "timestamp"
> > (date_var, time_var) still work but if this is just an oversight, I'd
>
> You mean it works with quotes but not without?
Yes:
exec sql select "interval"('0sec'); // accepted by ecpg
exec sql select interval('0sec'); // not accepted by ecpg (yesterday's
CVS)
Christof
PS:
exec sql select date("timestamp"('now'));
is the same