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:
4ddf56a
)
further test_sballoc temporary changes
author
Robert Haas
<rhaas@postgresql.org>
Fri, 11 Apr 2014 14:32:24 +0000
(14:32 +0000)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 11 Apr 2014 14:32:24 +0000
(14:32 +0000)
contrib/test_sballoc/test_sballoc.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/test_sballoc/test_sballoc.c
b/contrib/test_sballoc/test_sballoc.c
index 08620803dfc3760170a8ab62c7c664c1aab7f080..2bd63a650f456ba44c219961c6759b04ba4b5249 100644
(file)
--- a/
contrib/test_sballoc/test_sballoc.c
+++ b/
contrib/test_sballoc/test_sballoc.c
@@
-35,17
+35,13
@@
alloc(PG_FUNCTION_ARGS)
sb_allocator *a;
a = sb_create_private_allocator();
- sb_dump_regions();
for (i = 0; i < count; ++i)
{
p = sb_alloc(a, size, 0);
*p = i;
}
- sb_dump_regions();
-#if 0
sb_reset_allocator(a);
sb_dump_regions();
-#endif
PG_RETURN_VOID();
}