Re: UPDATE ... SET (a, b, c) = (expr) - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: UPDATE ... SET (a, b, c) = (expr)
Date
Msg-id 20090820202957.GN6261@alvh.no-ip.org
Whole thread Raw
In response to UPDATE ... SET (a, b, c) = (expr)  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: UPDATE ... SET (a, b, c) = (expr)  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
List 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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: UPDATE ... SET (a, b, c) = (expr)
Next
From: Josh Berkus
Date:
Subject: Re: converting between netmask formats