minor bufmgr cleanup

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: minor bufmgr cleanup
Date: 2004-11-24 00:18:28
Message-ID: 1101255508.12045.15.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

This patch makes a trivial improvement to IncrBufferRefCount(): rather
than asserting that BufferIsValid() and then manually asserting its pin
count is > 0, we can just assert BufferIsPinned().

I'll apply to HEAD before end of day, barring any objections.

-Neil

Attachment Content-Type Size
incr_buf_count_cleanup-1.patch text/x-patch 855 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-11-24 02:09:34 Re: htmlhelp generation
Previous Message Neil Conway 2004-11-24 00:15:38 rtree: improve performance, tuple killing