Re: Dyamic updates of NEW with pl/pgsql

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Dyamic updates of NEW with pl/pgsql
Дата
Msg-id 20100312042437.GG3512@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Dyamic updates of NEW with pl/pgsql  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: Dyamic updates of NEW with pl/pgsql  (Merlin Moncure <mmoncure@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Dyamic updates of NEW with pl/pgsql
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Reposnse from backend when wrong user/database request send