Re: list_free in addRangeTableEntryForJoin

Поиск
Список
Период
Сортировка
От Ilia Evdokimov
Тема Re: list_free in addRangeTableEntryForJoin
Дата
Msg-id a49f703d-56dd-469e-9c5e-4e9fdd53df95@tantorlabs.com
обсуждение исходный текст
Ответ на list_free in addRangeTableEntryForJoin  (Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>)
Ответы Re: list_free in addRangeTableEntryForJoin
Re: list_free in addRangeTableEntryForJoin
Список pgsql-hackers
 >But callers of addRangeTableEntryForJoin(), expects to handle a list 
or NIL, if we free the memory
I've thoroughly reviewed all callers of the 
`addRangeTableEntryForJoin()` function and confirmed that the list is 
not used after this function is called. Since 
`addRangeTableEntryForJoin()` is the last function to use this list, it 
would be more efficient to free the `List` at the point of its declaration.

I'll attach new patch where I free the lists.

Regards,

Ilia Evdokimov,

Tantor Labs LCC

Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Conflict Detection and Resolution
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: list_free in addRangeTableEntryForJoin