diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-01-29 21:33:56 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-01-29 21:33:56 +0200 |
commit | 699b1f40da3139def660235fa8a782ec8dd8f575 (patch) | |
tree | 434ea56ffa8a7670f190295d034b433fb322ebf0 /src/backend/utils/adt/jsonfuncs.c | |
parent | 626a120656a75bf4fe64b1d0d83c23cb38d3771a (diff) | |
download | postgresql-699b1f40da3139def660235fa8a782ec8dd8f575.tar.gz postgresql-699b1f40da3139def660235fa8a782ec8dd8f575.zip |
Fix thinko in huge_tlb_pages patch.
We calculated the rounded-up size for the allocation, but then failed to
use the rounded-up value in the mmap() call. Oops.
Also, initialize allocsize, to silence warnings seen with some compilers,
as pointed out by Jeff Janes.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions