Update Syntax - Mailing list pgsql-hackers

From ramirez@idconcepts.org (Edwin S. Ramirez)
Subject Update Syntax
Date
Msg-id 8d9c3e20.0401300741.8c287d3@posting.google.com
Whole thread Raw
Responses Re: Update Syntax
List pgsql-hackers
Hello,

I need Postgres support for the following update syntax :

update table1 set (col1, col2, col3) = (select f1, f2, f3 from table2
where id=5) where rownum=3;

update table1 set (col1, col2, col3) = (select f1, f2, f3 from table2
where id=table1.parentid) where rownum=3;

These type of update statements are the only ones supported by Oracle
to update one table from another.

Can this be added to the TODO list?
Can a cash prize be associated with the TODO item?, I have $1000US
allocated for this.

-ESR-


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Transaction aborts on syntax error.
Next
From: Bruce Momjian
Date:
Subject: Re: Mixing threaded and non-threaded