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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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