Re: Free indexed_tlist memory explicitly within set_plan_refs()

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Free indexed_tlist memory explicitly within set_plan_refs()
Дата
Msg-id CAM3SWZS0mpN7CVnOWZhN6OiYNFKtGjU3iMxjDqT+=aQD3GJazQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Free indexed_tlist memory explicitly within set_plan_refs()  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: Free indexed_tlist memory explicitly within set_plan_refs()  (Peter Geoghegan <pg@heroku.com>)
Re: ON CONFLICT issues around whole row vars,  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Sat, May 30, 2015 at 1:07 AM, Peter Geoghegan <pg@heroku.com> wrote:
> My fix for this issue
> (0001-Fix-bug-with-whole-row-Vars-in-excluded-targetlist.patch) still
> missed something. There needs to be additional handling in
> ruleutils.c:

Debugging this allowed me to come up with a significantly simplified
approach. Attached is a new version of the original fix. Details are
in commit message -- there is no actual need to have
search_indexed_tlist_for_var() care about Vars being resjunk in a
special way, which is a good thing. There is also no need for further
ruleutils.c specialization, as I implied before.

Some deparsing tests are now included on top of what was already in
the first version.
--
Peter Geoghegan

Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: nested loop semijoin estimates
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Free indexed_tlist memory explicitly within set_plan_refs()