Freeing sortgroupatts in use_physical_tlist

Поиск
Список
Период
Сортировка
От Zhihong Yu
Тема Freeing sortgroupatts in use_physical_tlist
Дата
Msg-id CALNJ-vSAMhMpkRY=rDW2MhC2FJwgwaAnnCq_6-bqif5OX=5RBg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Freeing sortgroupatts in use_physical_tlist  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,
I was looking at the code in use_physical_tlist().

In the code block checking CP_LABEL_TLIST, I noticed that the Bitmapset sortgroupatts is not freed before returning from the method.

Looking at create_foreignscan_plan() (in the same file):

        bms_free(attrs_used);

It seems the intermediate Bitmapset is freed before returning.

I would appreciate review comments for the proposed patch.

Thanks
Вложения

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: Commitfest Update
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Commitfest Update