Tom Lane escreveu:
> Adriano Lange <alange0001@gmail.com> writes:
>> I need to control the size of a memory context on the fly and take
>> some actions when
>> the used memory exceeds a defined size.
>
> The existing places that do that sort of thing do their own counting
> of how much they've allocated.
I have seen that the AllocSet structure is hid by MemoryContext which
has only a stderr output interface for its stats. I would need these
stats internally but maybe this is only my demand for now.
Thanks for attention.
Adriano