Re: BUG #4515: UPDATE strange behavior

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4515: UPDATE strange behavior
Дата
Msg-id 17921.1225980838@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4515: UPDATE strange behavior  ("xtron" <xtronz@yandex.ru>)
Список pgsql-bugs
"xtron" <xtronz@yandex.ru> writes:
> this is NOT work:
> update a1 set a1.value = a2.value from a2 where a1.id = a2.id;

This syntax is disallowed by the SQL standard: a SET target is just the
name of the column.  If we tried to interpret it as you suggest then
we'd be incompatible for composite-type columns.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: plperl & sort
Следующее
От: Tomasz Ostrowski
Дата:
Сообщение: Re: BUG #4514: Pi division error