I wrote:
> The comments for refnameRangeTblEntry indicate that at one time we
> thought we saw support for our approach in the spec:
Here is the discussion thread that settled on our current behavior:
http://archives.postgresql.org/pgsql-hackers/2002-03/msg00403.php
It looks like we followed Oracl
Simon Riggs <[EMAIL PROTECTED]> writes:
> On Mon, 2006-10-02 at 11:38 -0400, Tom Lane wrote:
>> Postgres treats "FROM temp.a" the same as "FROM temp.a AS a",
> [Which AFAICS doesn't follow SQL:2003, since a reference to temp.a
> should not be allowed following its redefinition as a.]
I'm sorry, I
On Mon, 2006-10-02 at 11:38 -0400, Tom Lane wrote:
> Chris Dunlop <[EMAIL PROTECTED]> writes:
> > I'm not sure if this is a bug or if it's displaying my ignorance
> > of this corner of SQL...
>
> > update a set name = (
> > select name
> > from temp.a
> > where temp.a.id = a.id
> > )
>
> Po
Chris Dunlop <[EMAIL PROTECTED]> writes:
> I'm not sure if this is a bug or if it's displaying my ignorance
> of this corner of SQL...
> update a set name = (
> select name
> from temp.a
> where temp.a.id = a.id
> )
Postgres treats "FROM temp.a" the same as "FROM temp.a AS a", and then
the