projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8117118
)
I have a bug!
author
Robert Haas
<rhaas@postgresql.org>
Thu, 12 Jun 2014 19:43:18 +0000
(15:43 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Thu, 12 Jun 2014 19:43:18 +0000
(15:43 -0400)
src/backend/utils/mmgr/balloc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/mmgr/balloc.c
b/src/backend/utils/mmgr/balloc.c
index fb751a9f75ddf71ed7b5bc51e6e952714289ca8e..b587d9dd563908ef2610e253cfd39f8993cd85f0 100644
(file)
--- a/
src/backend/utils/mmgr/balloc.c
+++ b/
src/backend/utils/mmgr/balloc.c
@@
-261,6
+261,10
@@
BlockAllocatorAlloc(MemoryContext context, Size size)
*/
if (!bcontext->private)
{
+ /*
+ * XXX. This code is messed up! Surely the MemoryContext object is
+ * in backend-private memory... it contains pointers!
+ */
region = LookupAllocatorRegion(bcontext);
if (region == NULL)
elog(ERROR, "AllocatorRegion not found");