Re: Minor ON CONFLICT related fixes

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Minor ON CONFLICT related fixes
Дата
Msg-id CAM3SWZRJgFs6zU3VqaaHsDZcD482YZnGNCL7e-TqjqAd6Qb32A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Minor ON CONFLICT related fixes  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: Minor ON CONFLICT related fixes  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, May 11, 2015 at 7:22 PM, Peter Geoghegan <pg@heroku.com> wrote:
> You just get an error within the
> optimizer following rewriting of a query involving the application of
> a rule that specifies an ON CONFLICT DO UPDATE alternative/DO INSTEAD
> action. I found it would say: "variable not found in subplan target
> lists".

BTW, that error was only raised when the EXCLUDED.* pseudo-alias was
actually used, which is why our previous testing missed it.

-- 
Peter Geoghegan



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Minor ON CONFLICT related fixes
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Minor ON CONFLICT related fixes