Re: Bug in DefineRange() with multiranges

Поиск
Список
Период
Сортировка
От Sergey Shinderuk
Тема Re: Bug in DefineRange() with multiranges
Дата
Msg-id f50a7e90-b166-b41d-3a7d-c0344974446e@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Bug in DefineRange() with multiranges  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: Bug in DefineRange() with multiranges  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 10.10.2021 20:12, Peter Eisentraut wrote:
> On 04.10.21 19:09, Sergey Shinderuk wrote:
>> I wonder what is the proper fix.  Just drop pfree() altogether or add
>> pstrdup() instead?  I see that makeMultirangeTypeName() doesn't bother
>> freeing its buf.
> 
> I think removing the pfree()s is a correct fix.
> 

Thanks, here is a patch.


-- 
Sergey Shinderuk        https://postgrespro.com/

Вложения

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

Предыдущее
От: Ants Aasma
Дата:
Сообщение: Re: storing an explicit nonce
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: Error "initial slot snapshot too large" in create replication slot