Re: UPDATE ... SET (a, b, c) = (expr)

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: UPDATE ... SET (a, b, c) = (expr)
Date: 2009-08-20 20:29:57
Message-ID: 20090820202957.GN6261@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera wrote:

> But then there's the matter of how to represent it from the grammar
> inwards. At first I thought of creating a new parse node type, say
> MultiResTarget that would replace ResTarget in UpdateStmt, and get it
> from there into the optimizer and executor.

Hmm, I should be passing it as a Query node, right?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-08-20 21:44:20 Re: converting between netmask formats
Previous Message Alvaro Herrera 2009-08-20 20:17:49 UPDATE ... SET (a, b, c) = (expr)