Re: lazy detoasting
От | Andrew Gierth |
---|---|
Тема | Re: lazy detoasting |
Дата | |
Msg-id | 87r2nlfrfv.fsf@news-spur.riddles.org.uk обсуждение исходный текст |
Ответ на | Re: lazy detoasting (Chapman Flack <chap@anastigmatix.net>) |
Список | pgsql-hackers |
>>>>> "Chapman" == Chapman Flack <chap@anastigmatix.net> writes: Chapman> There's precedent for that kind of thing in PL/Java already Chapman> ... objects that Java considers alive as long as some code Chapman> holds a reference to them, but proxy for things in PG that may Chapman> only have function-call lifetime or cursor-row lifetime, etc. Chapman> If they are closed by Java code (or the Java GC finds them Chapman> unreachable) first, they have to remember to release their PG Chapman> stuff; if the PG stuff goes first, they have to update Chapman> themselves to throw a suitable "you've kept me past my sell-by Chapman> date" exception if the Java code tries to use them again. How's the code doing this? I couldn't find it in a cursory scan. -- Andrew (irc:RhodiumToad)
В списке pgsql-hackers по дате отправления: