Re: [bug fix] Fix the size calculation for shmem TOC

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: [bug fix] Fix the size calculation for shmem TOC
Дата
Msg-id 1328c11f-dda9-069d-00fb-b78c69de2937@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: [bug fix] Fix the size calculation for shmem TOC  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers

On 2021/01/14 18:15, Fujii Masao wrote:
> 
> 
> On 2021/01/14 17:47, tsunakawa.takay@fujitsu.com wrote:
>> Hello,
>>
>>
>> The attached patch fixes a trivial mistake in the calculation of shmem TOC.  The original code allocates unduly
largememory because it adds the result of add_size() to its left argument.
 
> Thanks for the report and patch! The patch looks good to me.

Pushed and back-patched to v11. Thanks!

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: invalid data in file backup_label problem on windows
Следующее
От: "Wang, Shenhao"
Дата:
Сообщение: RE: invalid data in file backup_label problem on windows