Re: "select ..... for update of ..." doesn't support full qualified table name? - Mailing list pgsql-general

From Tom Lane
Subject Re: "select ..... for update of ..." doesn't support full qualified table name?
Date
Msg-id 20542.1126040516@sss.pgh.pa.us
Whole thread Raw
In response to Re: "select ..... for update of ..." doesn't support full qualified table name?  (Vlad <marchenko@gmail.com>)
List pgsql-general
Vlad <marchenko@gmail.com> writes:
> Though question is - doesn't it seem logical to be able to use full
> table names in FOR UPDATE part like I can use them in WHERE part (if I
> don't need/want to use an alias)? Is it something postgresql speciffic
> or it's SQL standard (pardon my ignorance)?

The entire construct is Postgres-specific, so you can't really point
to the spec and say it's wrong.

I don't see any merit whatever in the "I shouldn't need to use an alias"
argument.  If you don't have unique aliases then you're going to have
problems anyway.

            regards, tom lane

pgsql-general by date:

Previous
From: Vlad
Date:
Subject: Re: "select ..... for update of ..." doesn't support full qualified table name?
Next
From: Roman Neuhauser
Date:
Subject: Re: How to write jobs in postgresql