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