Re: "select ..... for update of ..." doesn't support full qualified table name?

From: Vlad <marchenko(at)gmail(dot)com>
To: Matt Miller <mattm(at)epx(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: "select ..... for update of ..." doesn't support full qualified table name?
Date: 2005-09-06 18:33:16
Message-ID: cd70c68105090611335b02c1d0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

yes, we actually use table alias as a workaround, I thought that it's
actually looks like error in postgresql parser (or deeper) that needs
to be reported.

thanks.

On 9/6/05, Matt Miller <mattm(at)epx(dot)com> wrote:
> On Tue, 2005-09-06 at 13:45 -0400, Vlad wrote:
> > SELECT * FROM one.aa, two.bb WHERE one.aa.a = two.bb.b FOR UPDATE OF
> > one.aa;
> >
> > ERROR: syntax error at or near "." at character 73 (points to the
> > last instance of "one.aa" in SQL query
>
> Try using a table alias, and reference that alias in the "for update of"
> clause.
>

--
Vlad

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2005-09-06 18:42:09 Re: Insert Ignore or something similar...
Previous Message Matt Miller 2005-09-06 18:29:32 Re: "select ..... for update of ..." doesn't support