Re: BUG #3418: Memory leak with sql EXCEPTION? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3418: Memory leak with sql EXCEPTION?
Date
Msg-id 8003.1183147929@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3418: Memory leak with sql EXCEPTION?  ("Viatcheslav" <vka@ipcb.net>)
List pgsql-bugs
"Viatcheslav" <vka@ipcb.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

pgsql-bugs by date:

Previous
From: "Viatcheslav"
Date:
Subject: BUG #3418: Memory leak with sql EXCEPTION?
Next
From: "sivaprakash"
Date:
Subject: BUG #3419: postgres not support windows 2000prof