Is this on the to-do list?

From: "A B" <gentosaker(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Is this on the to-do list?
Date: 2009-01-18 21:43:43
Message-ID: dbbf25900901181343p6ffa2ca6vaff67221a1c9d8c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From the docs: http://www.postgresql.org/docs/8.3/interactive/sql-update.html

"According to the standard, the column-list syntax should allow a list
of columns to be assigned from a single row-valued expression, such as
a sub-select:
UPDATE accounts SET (contact_last_name, contact_first_name) =
(SELECT last_name, first_name FROM salesmen
WHERE salesmen.id = accounts.sales_id);
This is not currently implemented — the source must be a list of
independent expressions."

Is this feature going into postgresql any day soon? :-)

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2009-01-18 22:08:07 Re: Is this on the to-do list?
Previous Message Ivan Sergio Borgonovo 2009-01-18 21:12:07 left join with smaller table or index on (XXX is not null) to avoid upsert