agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Followup, regarding ResultSet _new in triggers and Tada Wiki
Date: Wed, 18 Oct 2006 21:13:20 +0200
Message-ID: <45367CD0.8090202@tada.se> (raw)
In-Reply-To: <449f4cf70610180438x3c928febw693667dae457e841@mail.gmail.com>
References: <449f4cf70610180438x3c928febw693667dae457e841@mail.gmail.com>

Mark Mitchell wrote:
> Btw, the pljava wiki has been down the last couple days:
>
> (http://wiki.tada.se/wiki/display/pljava/Triggers for example)
>   
Thanks for pointing it out. It's up and running again now.

> I had mentioned in my previous message about closing the _new
> ResultSet (from TriggerData.getNew()) to try to stop my slow memory
> leak problem.  Turns out that actually prevented my updateObjects from
> taking affect - so I took it back out, assuming we are not supposed to
> close that ResultSet.  From the examples it looked like that was the
> intended behaviour anyways -- not to close _new.
>
>   
Right, neither the new nor the old are supposed to be closed. They are 
not real result sets. I just chose that interface since it was the most 
suitable for accessing the row. I bet there's something in the 
underlying implementation that forgets to free up some memory in the 
native C code.

Kind Regards,
Thomas Hallgren





view thread (2+ messages)

Message-ID: <45367CD0.8090202@tada.se>
Permalink:  ../45367CD0.8090202@tada.se/
Also on:    postgresql.org/message-id/45367CD0.8090202@tada.se

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Followup, regarding ResultSet _new in triggers and Tada Wiki
  In-Reply-To: <45367CD0.8090202@tada.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox