Re: query failed , don't know why - Mailing list pgsql-hackers

From Brian P. Mann
Subject Re: query failed , don't know why
Date
Msg-id 005501bfdd5f$02633170$0a00a8c0@modempool.com
Whole thread Raw
In response to query failed , don't know why  (Jeff MacDonald <jeff@pgsql.com>)
List pgsql-hackers
shouldn't that be m.payments and not m,payments?

Brian
----- Original Message -----
From: "Jeff MacDonald" <jeff@pgsql.com>
To: <pgsql-sql@postgresql.org>; <pgsql-hackers@postgresql.org>
Sent: Friday, June 23, 2000 2:53 PM
Subject: [HACKERS] query failed , don't know why


> UPDATE members m,payments p SET m.status = 2 WHERE p.paydate >
'now'::datetime - '1 month'::timespan and p.productid = 'xxxxxxx' and m.gid
= p.gid
>
> i'm trying to run that query and i'm getting
>
> "parse error near m"
>
> but it looks ok to me
>
> i'm running postgresql 7.0.2 with freebsd 4.0 stable
>
> jeff
>
>
>
>



pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Mandrake RPMS, was "Building PostgreSQL 7.0.1 documentation"
Next
From: Tatsuo Ishii
Date:
Subject: Re: About the pid and opts files