[Pljava-dev] Returning complex complex objects

From: johann at myrkraverk(dot)com (Johann 'Myrkraverk' Oskarsson)
To:
Subject: [Pljava-dev] Returning complex complex objects
Date: 2010-12-21 20:17:42
Message-ID: AANLkTi=3Wxg_4VLunsUOrzf9jbJK9BYSH++Zri8cW_h1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi Krzysztof,

On Tue, Dec 21, 2010 at 1:09 PM, Krzysztof <yazuna at gmail.com> wrote:
> Hello Johann,
> When finalizer would be called normally?

That answer can be a bit complex and I won't go into it here.

> I do not know Postgres internals well enough but this is related to
> ResourceOwner existence, which should have similar behaviour to
> palloc/pfree, correct?

If I understand you correctly, yes.

> Does it mean the tuple is destroyed when the
> query or transaction ends? or is it GC driven?

It is supposed to be called by the Java garbage collector. So far I
have not found a way to test case it.

Johann

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Tom Kessler 2010-12-24 00:09:07 [Pljava-dev] NoClassDefFoundError - Postgres Trigger invoking RMI
Previous Message Johann 'Myrkraverk' Oskarsson 2010-12-21 15:20:35 [Pljava-dev] Pljava builts