| От | Tom Lane |
|---|---|
| Тема | Re: Memory leak in CachememoryContext |
| Дата | |
| Msg-id | 193956.1682347448@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Memory leak in CachememoryContext (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Memory leak in CachememoryContext
|
| Список | pgsql-hackers |
I wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> Hmm, we can leave it unused in our code, but it still needs to be
>> initialized to some valid memory context anyway; otherwise hypothetical
>> code that uses it would still crash.
> I think we want that to happen, actually, because it's impossible
> to guess what such hypothetical code needs the context to be.
I guess we could have the back branches continue to create a
shared_cast_context and just not use it in core. Seems rather
expensive for a very hypothetical compatibility measure, though.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера