Re: Which MemoryContext?

From: "Gevik Babakhani" <pgdev(at)xs4all(dot)nl>
To: "'Heikki Linnakangas'" <heikki(at)enterprisedb(dot)com>
Cc: "'pgsql-hackers'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Which MemoryContext?
Date: 2008-02-20 23:52:27
Message-ID: 004101c8741b$a67b3310$0a01a8c0@gevmus
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On backend exit, everything in TopMemoryContext, like all
> other non-shared memory, is automatically released.
>

So it is safe to not free the allocated memory in TopMemoryContext and leave
it to be released on backend exit.
Thank you for the help :)

Regards,
Gevik.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-02-20 23:53:47 Re: Permanent settings
Previous Message Joshua D. Drake 2008-02-20 23:51:28 Re: Permanent settings