forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2ad78a8
committed
Fix calculation of how much shared memory is required to store a TOC.
Commitac883ac refactored shm_toc_estimate() but changed its calculationof shared memory size for TOC incorrectly. Previously this could cause toolarge memory to be allocated.Back-patch to v11 where the bug was introduced.Author: Takayuki TsunakawaDiscussion:https://postgr.es/m/TYAPR01MB2990BFB73170E2C4921E2C4DFEA80@TYAPR01MB2990.jpnprd01.prod.outlook.com1 parentccf4e27 commit2ad78a8
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
265 | 265 |
| |
266 | 266 |
| |
267 | 267 |
| |
268 |
| - | |
269 |
| - | |
| 268 | + | |
| 269 | + | |
270 | 270 |
| |
271 | 271 |
| |
272 | 272 |
|
0 commit comments
Comments
(0)