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

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 (view raw, whole thread or download thread mbox)
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.


Attachment: incr_buf_count_cleanup-1.patch
Description: text/x-patch (855 bytes)


pgsql-patches by date

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

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