Re: Ctid chain following enhancement - Mailing list pgsql-patches

From Pavan Deolasee
Subject Re: Ctid chain following enhancement
Date
Msg-id 2e78013d0701271221v723bee48h2a7d8ebe3a002987@mail.gmail.com
Whole thread Raw
In response to Re: Ctid chain following enhancement  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Ctid chain following enhancement  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches

On 1/27/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:

It looks to me that you have introduced a buffer leak into
heap_get_latest_tid ...

I can't spot that. A previously pinned buffer is released at the start
of the loop if we are moving to a different block. Otherwise, the buffer
is released at all places where the for(;;) loop is terminated by a "break".
Am I missing something ?

Thanks,
Pavan

--

EnterpriseDB     http://www.enterprisedb.com

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: minor regression test refactor
Next
From: Bruce Momjian
Date:
Subject: Re: [DOCS] Change draft gmake control