Re: Memory context usage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adriano Lange <alange0001(at)gmail(dot)com>
Cc: Greg Smith <gsmith(at)gregsmith(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Memory context usage
Date: 2009-08-28 14:00:46
Message-ID: 7955.1251468046@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Adriano Lange <alange0001(at)gmail(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Wanner 2009-08-28 14:14:36 StringInfo Macros
Previous Message Dan O'Hara 2009-08-28 13:59:41 BUG #5021: ts_parse doesn't recognize email addresses with underscores