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

Re: minor restrpos / markpos optimization

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: minor restrpos / markpos optimization
Date: 2004-11-17 03:13:17
Message-ID: 1100661197.9430.12.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: 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



In response to

pgsql-patches by date

Next:From: Neil ConwayDate: 2004-11-17 08:29:47
Subject: Re: win32 cleanup
Previous:From: Neil ConwayDate: 2004-11-17 02:50:45
Subject: Re: docs patch - CSV import limitation

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