Re: PL/pgSQL Memory Management?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Command Prompt, Inc(dot)" <pgsql-general(at)commandprompt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PL/pgSQL Memory Management?
Date: 2002-02-22 01:12:30
Message-ID: 12552.1014340350@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Command Prompt, Inc." <pgsql-general(at)commandprompt(dot)com> writes:
> ... how exactly does PL/pgSQL manage the memory it requires for
> calls to functions and operators?

7.1 and before leak like a sieve :-(, at least for the duration of a
single function call.

> Also, does 7.2's version of PL/pgSQL behave the same way?

7.2 should be much better, though I am too lazy to try your specific
example right now. If you still see leakage under 7.2 please report it
and we'll try to fix it.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Medi Montaseri 2002-02-22 01:31:44 Re: A Replication Idea
Previous Message Thalis A. Kalfigopoulos 2002-02-22 01:12:18 Re: environment variables, output format & setting current