Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group