BUG #4515: UPDATE strange behavior - Mailing list pgsql-bugs

From xtron
Subject BUG #4515: UPDATE strange behavior
Date
Msg-id 200811061205.mA6C5NGj021983@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4515: UPDATE strange behavior  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4515
Logged by:          xtron
Email address:      xtronz@yandex.ru
PostgreSQL version: 8.3.5
Operating system:   Debian GNU/Linux
Description:        UPDATE strange behavior
Details:

IMHO this is strange behavior:

create table a1(id int, value int);
create table a2(id int, value int);

this is work:
update a1 set value = a2.value from a2 where a1.id = a2.id;

this is NOT work:
update a1 set a1.value = a2.value from a2 where a1.id = a2.id;

pgsql-bugs by date:

Previous
From: "Traci Sumpter"
Date:
Subject: BUG #4514: Pi division error
Next
From: Rodriguez Fernando
Date:
Subject: Re: BUG #4514: Pi division error