pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix calculation of how much shared memory is required to store a 4+ messages / 1 participants [nested] [flat]
* pgsql: Fix calculation of how much shared memory is required to store a @ 2021-01-15 03:45 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Fujii Masao @ 2021-01-15 03:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix calculation of how much shared memory is required to store a TOC. Commit ac883ac453 refactored shm_toc_estimate() but changed its calculation of shared memory size for TOC incorrectly. Previously this could cause too large memory to be allocated. Back-patch to v11 where the bug was introduced. Author: Takayuki Tsunakawa Discussion: https://postgr.es/m/TYAPR01MB2990BFB73170E2C4921E2C4DFEA80@TYAPR01MB2990.jpnprd01.prod.outlook.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2ad78a87f018260d4474eee63187e1cc73c9b976 Modified Files -------------- src/backend/storage/ipc/shm_toc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix calculation of how much shared memory is required to store a @ 2021-01-15 03:45 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Fujii Masao @ 2021-01-15 03:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix calculation of how much shared memory is required to store a TOC. Commit ac883ac453 refactored shm_toc_estimate() but changed its calculation of shared memory size for TOC incorrectly. Previously this could cause too large memory to be allocated. Back-patch to v11 where the bug was introduced. Author: Takayuki Tsunakawa Discussion: https://postgr.es/m/TYAPR01MB2990BFB73170E2C4921E2C4DFEA80@TYAPR01MB2990.jpnprd01.prod.outlook.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/60369db86f6cc9432626df5a5ccdd9eb3338798e Modified Files -------------- src/backend/storage/ipc/shm_toc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix calculation of how much shared memory is required to store a @ 2021-01-15 03:46 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Fujii Masao @ 2021-01-15 03:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix calculation of how much shared memory is required to store a TOC. Commit ac883ac453 refactored shm_toc_estimate() but changed its calculation of shared memory size for TOC incorrectly. Previously this could cause too large memory to be allocated. Back-patch to v11 where the bug was introduced. Author: Takayuki Tsunakawa Discussion: https://postgr.es/m/TYAPR01MB2990BFB73170E2C4921E2C4DFEA80@TYAPR01MB2990.jpnprd01.prod.outlook.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/19a1d768531a75cf729dc294322c6a4460f67ed9 Modified Files -------------- src/backend/storage/ipc/shm_toc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix calculation of how much shared memory is required to store a @ 2021-01-15 03:46 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Fujii Masao @ 2021-01-15 03:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix calculation of how much shared memory is required to store a TOC. Commit ac883ac453 refactored shm_toc_estimate() but changed its calculation of shared memory size for TOC incorrectly. Previously this could cause too large memory to be allocated. Back-patch to v11 where the bug was introduced. Author: Takayuki Tsunakawa Discussion: https://postgr.es/m/TYAPR01MB2990BFB73170E2C4921E2C4DFEA80@TYAPR01MB2990.jpnprd01.prod.outlook.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/97b025ebe6733c69a1569fd662391ad58d0616a6 Modified Files -------------- src/backend/storage/ipc/shm_toc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2021-01-15 03:46 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-01-15 03:45 pgsql: Fix calculation of how much shared memory is required to store a Fujii Masao <fujii@postgresql.org> 2021-01-15 03:45 pgsql: Fix calculation of how much shared memory is required to store a Fujii Masao <fujii@postgresql.org> 2021-01-15 03:46 pgsql: Fix calculation of how much shared memory is required to store a Fujii Masao <fujii@postgresql.org> 2021-01-15 03:46 pgsql: Fix calculation of how much shared memory is required to store a Fujii Masao <fujii@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox