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

Поиск
Список
Период
Сортировка
От Tatsuhito Kasahara
Тема Re: Patch for pgstatindex to fix a bug reporting a value of strange leaf_fragmentation
Дата
Msg-id 45F0DF3B.4060203@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: Patch for pgstatindex to fix a bug reporting a value of strange leaf_fragmentation  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Patch for pgstatindex to fix a bug reporting a value of strange leaf_fragmentation
Следующее
От: NikhilS
Дата:
Сообщение: Re: log_autovacuum