diff options
author | Fujii Masao <fujii@postgresql.org> | 2021-01-15 12:44:17 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2021-01-15 12:45:51 +0900 |
commit | 19a1d768531a75cf729dc294322c6a4460f67ed9 (patch) | |
tree | 2b200111d366132a9127476ad0f33b1bc704d16b /src/backend/executor/nodeProjectSet.c | |
parent | 0d221ececeb9697b4e0c3a1c22861e8f54bd050d (diff) | |
download | postgresql-19a1d768531a75cf729dc294322c6a4460f67ed9.tar.gz postgresql-19a1d768531a75cf729dc294322c6a4460f67ed9.zip |
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
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions