pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ed Loehr <eloehr@austin.rr.com>
To: blackw@sfu.ca
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] Bug in parser?
Date: Fri, 04 Feb 2000 20:20:29 -0600
Message-ID: <389B88ED.DF613747@austin.rr.com> (raw)
References: <389B70B7.D428C352@sfu.ca>

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



view thread (12+ messages)  latest in thread

Message-ID: <389B88ED.DF613747@austin.rr.com>
Permalink:  ../389B88ED.DF613747@austin.rr.com/
Also on:    postgresql.org/message-id/389B88ED.DF613747@austin.rr.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: eloehr@austin.rr.com, blackw@sfu.ca
  Subject: Re: [INTERFACES] Bug in parser?
  In-Reply-To: <389B88ED.DF613747@austin.rr.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox