Re: [HACKERS] refcount leak warnings

2006-06-27 Thread Martijn van Oosterhout
On Tue, Jun 27, 2006 at 03:55:06PM +0200, Thomas Hallgren wrote: I have a PL/Java user that performs some lengthy operations. Eventually, he get warnings like: WARNING: buffer refcount leak: [779] (rel=1663/16440/52989, blockNum=3, flags=0x27, refcount=1 2) I think the comment about

Re: [HACKERS] refcount leak warnings

2006-06-27 Thread Tom Lane
Thomas Hallgren [EMAIL PROTECTED] writes: I have a PL/Java user that performs some lengthy operations. Eventually, he get warnings like: WARNING: buffer refcount leak: [779] (rel=1663/16440/52989, blockNum=3, flags=0x27, refcount=1 2) Look for ReadBuffer calls not matched by ReleaseBuffer.