Re: eeeh... buffer leak?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lennert Buytenhek <buytenh@gnu.org>
Cc: pgsql-bugs@postgresql.org
Date: 2000-10-16T01:27:53Z
Lists: pgsql-bugs
Lennert Buytenhek <buytenh@gnu.org> writes:
> ulsec=# truncate job;
> NOTICE:  Buffer Leak: [002] (freeNext=-3, freePrev=-3, relname=job, blockNum=0,
> flags=0xc, refcount=1 -1)
> TRUNCATE

Hmm, that's interesting.  It shouldn't be possible for PrivateRefCount
(the last value printed) to become negative.  Can you give a sequence
for reproducing this notice from a standing start?

The notice isn't especially worrisome in itself, but to the extent that
it implies some incorrect bookkeeping of buffer refcounts, there could
be a problem lurking somewhere.

			regards, tom lane