Thread: Buffer Leak

Buffer Leak

From
Yury Don
Date:
Hi All!

I am doing the following:
begin;
declare c1 cursor for select * from pg_class;
fetch 1 in c1;
declare c2 cursor for select * from pg_tables;
fetch 1 in c2;
close c1;
close c2;
end;
and getting:
NOTICE:  Buffer Leak: [034] (freeNext=-3, freePrev=-3, relname=pg_class,
blockNum=0, flags=0x4, refcount=1 2)
What does it mean?

Sincerely yours, Yury.
don.web-page.net, ICQ 11831432

Re: [GENERAL] Buffer Leak

From
Bruce Momjian
Date:
[Charset koi8-r unsupported, filtering to ASCII...]
> Hi All!
>
> I am doing the following:
> begin;
> declare c1 cursor for select * from pg_class;
> fetch 1 in c1;
> declare c2 cursor for select * from pg_tables;
> fetch 1 in c2;
> close c1;
> close c2;
> end;
> and getting:
> NOTICE:  Buffer Leak: [034] (freeNext=-3, freePrev=-3, relname=pg_class,
> blockNum=0, flags=0x4, refcount=1 2)
> What does it mean?

I don't see that in the current source tree.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026