Re: Feature Request: additional extension to UPDATE - Mailing list pgsql-general

From Tom Lane
Subject Re: Feature Request: additional extension to UPDATE
Date
Msg-id 9850.1219934072@sss.pgh.pa.us
Whole thread Raw
In response to Feature Request: additional extension to UPDATE  ("Richard Broersma" <richard.broersma@gmail.com>)
List pgsql-general
"Richard Broersma" <richard.broersma@gmail.com> writes:
> UPDATE Foo
>    SET ( a, b, c, ..., n ) = ( SELECT newA, newB, newC, ..., newN
>                                         FROM Bar WHERE foo.id = Bar.id )

> Any thoughts on this?

It's been on the TODO list for quite some time:
http://wiki.postgresql.org/wiki/Todo#UPDATE

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: indexes on functions and create or replace function
Next
From: Joao Ferreira gmail
Date:
Subject: Re: Vaccuum best practice: cronjob or autovaccuum?