pgsql-server: StrategyDirtyBufferList wasn't being careful to honor

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: StrategyDirtyBufferList wasn't being careful to honor
Date: 2004-06-11 17:20:39
Message-ID: 20040611172039.DCE52D1B19B@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
StrategyDirtyBufferList wasn't being careful to honor max_buffers limit.
Bug is only latent given that sole caller is passing NBuffers, but it
could bite someone in the rear someday.

Modified Files:
--------------
pgsql-server/src/backend/storage/buffer:
freelist.c (r1.44 -> r1.45)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/storage/buffer/freelist.c.diff?r1=1.44&r2=1.45)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-06-11 17:32:40 pgsql-server: ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles
Previous Message Bruce Momjian 2004-06-11 17:09:14 pgsql-server: Use sizeof() rather than strlen() in array size.