aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.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:45:25 +0900
commit60369db86f6cc9432626df5a5ccdd9eb3338798e (patch)
treed5e3188aa75e2f1285c44510d4ad58077faff353 /src/backend/access/gist/gist.c
parent79d3ac72f690b45e2b278be746f858a1f6311310 (diff)
downloadpostgresql-60369db86f6cc9432626df5a5ccdd9eb3338798e.tar.gz
postgresql-60369db86f6cc9432626df5a5ccdd9eb3338798e.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/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions