agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] Followup, regarding ResultSet _new in triggers and Tada Wiki
2+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] Followup, regarding ResultSet _new in triggers and Tada Wiki
@ 2006-10-18 11:38  
  0 siblings, 1 reply; 2+ messages in thread

From:  @ 2006-10-18 11:38 UTC (permalink / raw)

Btw, the pljava wiki has been down the last couple days:

(http://wiki.tada.se/wiki/display/pljava/Triggers for example)

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.

-Mark




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* [Pljava-dev] Followup, regarding ResultSet _new in triggers and Tada Wiki
@ 2006-10-18 19:13  
  parent: 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2006-10-18 19:13 UTC (permalink / raw)

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-10-18 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-18 11:38 [Pljava-dev] Followup, regarding ResultSet _new in triggers and Tada Wiki 
2006-10-18 19:13 ` 

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