Re: Patch for pgstatindex to fix a bug reporting a value of strange leaf_fragmentation

From: Tatsuhito Kasahara <kasahara(dot)tatsuhito(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-patches(at)postgresql(dot)org
Cc: Tatsuhito Kasahara <kasahara(dot)tatsuhito(at)oss(dot)ntt(dot)co(dot)jp>
Subject: Re: Patch for pgstatindex to fix a bug reporting a value of strange leaf_fragmentation
Date: 2007-03-09 04:14:51
Message-ID: 45F0DF3B.4060203@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hi.

Alvaro Herrera wrote:
>> In GetBTPageStatistics(), stat->fragments is not initialized properly
>> so that invalid leaf_fragments values are inserted in results.
>
> Right. Checking that code, it seems btpo.xact is also being incorrectly
> handled, is it not?
Yeah, I think so.

> Incidentally, the return value seems a bit useless.
Exactly. "Void" is enough.

--
NTT OSS Center
Tatsuhito Kasahara

kasahara.tatsuhito _at_ oss.ntt.co.jp

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message NikhilS 2007-03-09 06:18:34 Re: Auto creation of Partitions
Previous Message Alvaro Herrera 2007-03-09 03:33:22 Re: Patch for pgstatindex to fix a bug reporting a value of strange leaf_fragmentation