forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbea38f3
committed
pg_buffercache: Allow huge allocations.
Otherwise, users who have configured shared_buffers >= 256GB won'tbe able to use this module. There probably aren't many of those, butit doesn't hurt anything to fix it so that it works.Backpatch to 9.4, where MemoryContextAllocHuge was introduced. Thesame problem exists in older branches, but there's no easy way tofix it there.KaiGai Kohei1 parentfcd93e4 commitbea38f3
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
128 | 130 |
| |
129 | 131 |
| |
130 | 132 |
| |
|
0 commit comments
Comments
(0)