Richard wrote:
>
> UPDATE ActiveUser SET status=-1
> WHERE (datetime('today'::date, 'now'::time) - lastrequest) >
> timespan('10 minutes'::reltime)
>
> parser: parser error at or near ""
>
> Does this appear to be a bug in the libpq++ library? Am I using SQL
> incorrectly here? Something else, maybe?
A guess: try spaces around your '=' operator...that one sometimes
doesn't like being crowded...
Cheers,
Ed Loehr