pgsql: Assert that BufferIsPinned() in IncrBufferRefCount(), rather than

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Assert that BufferIsPinned() in IncrBufferRefCount(), rather than
Date: 2004-11-24 02:56:19
Message-ID: 20041124025619.600313A3F80@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Assert that BufferIsPinned() in IncrBufferRefCount(), rather than using
a home-brewed combination of assertions that boiled down to the same
thing.

Modified Files:
--------------
pgsql/src/backend/storage/buffer:
bufmgr.c (r1.181 -> r1.182)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c.diff?r1=1.181&r2=1.182)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2004-11-24 04:58:44 pgsql: Trivial fix for a bug introduced in r1.94 of help.c: we want to
Previous Message Neil Conway 2004-11-23 23:44:13 pgsql: Prevent pgcrypto from successfully compiling if no valid random