From: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
---|---|
To: | "tsunakawa(dot)takay(at)fujitsu(dot)com" <tsunakawa(dot)takay(at)fujitsu(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: [bug fix] Fix the size calculation for shmem TOC |
Date: | 2021-01-15 03:47:43 |
Message-ID: | 1328c11f-dda9-069d-00fb-b78c69de2937@oss.nttdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2021/01/14 18:15, Fujii Masao wrote:
>
>
> On 2021/01/14 17:47, tsunakawa(dot)takay(at)fujitsu(dot)com wrote:
>> Hello,
>>
>>
>> The attached patch fixes a trivial mistake in the calculation of shmem TOC. The original code allocates unduly large memory 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
From | Date | Subject | |
---|---|---|---|
Next Message | Wang, Shenhao | 2021-01-15 03:50:22 | RE: invalid data in file backup_label problem on windows |
Previous Message | Michael Paquier | 2021-01-15 03:37:31 | Re: invalid data in file backup_label problem on windows |