Re: BUG #3418: Memory leak with sql EXCEPTION?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Viatcheslav" <vka(at)ipcb(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3418: Memory leak with sql EXCEPTION?
Date: 2007-06-29 20:12:09
Message-ID: 8003.1183147929@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Viatcheslav" <vka(at)ipcb(dot)net> writes:
> We are aware of additional costs of exceptions yet this one appears to be a
> memory leak.

AFAICT, the only memory consumed per-iteration by your example is the
subtransaction XID that's added to the list of XIDs for eventual commit.
It's not really possible to dispense with storing it.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message sivaprakash 2007-06-30 07:03:08 BUG #3419: postgres not support windows 2000prof
Previous Message Viatcheslav 2007-06-29 19:14:29 BUG #3418: Memory leak with sql EXCEPTION?