Re: Dyamic updates of NEW with pl/pgsql - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Dyamic updates of NEW with pl/pgsql
Date
Msg-id 20100312042437.GG3512@alvh.no-ip.org
Whole thread Raw
In response to Re: Dyamic updates of NEW with pl/pgsql  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: Dyamic updates of NEW with pl/pgsql
List pgsql-hackers
Merlin Moncure escribió:


> (small aside: the other biggie would be able to push a composite type
> in to an update statement...something like 'update foo set foo =
> new').  This is really great...some variant of this question is
> continually asked it seems.

Can't you already do that with EXECUTE ... USING NEW?  hmm, ah, but you
have to specify the columns in NEW, so it doesn't really work for you,
does it?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Dyamic updates of NEW with pl/pgsql
Next
From: Tatsuo Ishii
Date:
Subject: Reposnse from backend when wrong user/database request send