Skip site navigation (1) Skip section navigation (2)

Re: eeeh... buffer leak?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lennert Buytenhek <buytenh(at)gnu(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: eeeh... buffer leak?
Date: 2000-10-17 04:21:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Lennert Buytenhek <buytenh(at)gnu(dot)org> writes:
>> 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?

> Unfortunately not. I was very very surprised when I saw this (as I never
> got any errors like this), and I tried to reproduce what I did, but I
> didn't get this message again. (This is a pretty heavily-used database
> (lots of clients via the network), so the odds of reproducing the exact
> sequence of events is pretty small anyway).

PrivateRefCount is local to a particular backend, so the behavior of
other clients shouldn't matter (in theory anyway ;-)).  It should be
sufficient to reproduce the sequence executed by your specific session.
Not that that helps much if you don't remember, but please try.

> So.. what am I to do if I ever get this message again?

Don't panic ... but see if you can reproduce it.

			regards, tom lane

In response to


pgsql-bugs by date

Next:From: Thomas LockhartDate: 2000-10-17 05:24:17
Subject: Re: bug-report
Previous:From: Lennert BuytenhekDate: 2000-10-16 21:55:34
Subject: Re: eeeh... buffer leak?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group