Re: minor restrpos / markpos optimization - Mailing list pgsql-patches

From Neil Conway
Subject Re: minor restrpos / markpos optimization
Date
Msg-id 1100661197.9430.12.camel@localhost.localdomain
Whole thread Raw
In response to minor restrpos / markpos optimization  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
On Wed, 2004-11-17 at 11:20 +1100, Neil Conway wrote:
> This patch makes a minor optimization to the restrpos() and markpos()
> implementations for btree and hash: to bump the reference count on a
> buffer, it is more efficient to use IncrBufferRefCount() than to do a
> ReadBuffer

Applied.

-Neil



pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: docs patch - CSV import limitation
Next
From: Neil Conway
Date:
Subject: Re: win32 cleanup