aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2021-01-15 12:44:17 +0900
committerFujii Masao <fujii@postgresql.org>2021-01-15 12:44:17 +0900
commit2ad78a87f018260d4474eee63187e1cc73c9b976 (patch)
tree36035a43cc8466a5d512ecba9f4dc78cbc62d0b7 /src/backend/commands/async.c
parentccf4e277a4de120a2f08db7e45399d87e1176bda (diff)
downloadpostgresql-2ad78a87f018260d4474eee63187e1cc73c9b976.tar.gz
postgresql-2ad78a87f018260d4474eee63187e1cc73c9b976.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/commands/async.c')
0 files changed, 0 insertions, 0 deletions