Re: Feature Request: additional extension to UPDATE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Richard Broersma" <richard(dot)broersma(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Feature Request: additional extension to UPDATE
Date: 2008-08-28 14:34:32
Message-ID: 9850.1219934072@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Richard Broersma" <richard(dot)broersma(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joao Ferreira gmail 2008-08-28 14:47:23 Re: Vaccuum best practice: cronjob or autovaccuum?
Previous Message Tom Lane 2008-08-28 14:30:54 Re: indexes on functions and create or replace function