Update count mismatch - internal error

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Update count mismatch - internal error
Дата
Msg-id 20150920001511.GB3844@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: Update count mismatch - internal error  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-hackers
Hi,

While working on polishing remaining upsert issues I found a, afaics
unrelated, issue:

postgres[14993][1]=# CREATE TABLE mismatch(a int, b int);
CREATE TABLE
postgres[14993][1]=# UPDATE mismatch SET a = mismatch.*;
ERROR:  XX000: UPDATE target count mismatch --- internal error
LOCATION:  transformUpdateTargetList, analyze.c:2103

Seems to be a longer standing thing, going at least back to 9.0.

Greetings,

Andres Freund



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: ON CONFLICT issues around whole row vars,
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Update count mismatch - internal error