Re: GSoC 2011: Fast GiST index build

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GSoC 2011: Fast GiST index build
Date: 2011-05-05 11:06:39
Message-ID: 4DC284BF.7080506@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> gistFindCorrectParent function have branch with following comment:
> /*
> * awful!!, we need search tree to find parent ... , but before we
> * should release all old parent
> */
> Can you provide me an example of case when this branch works?

See several lines above:
if (parent->blkno == InvalidBlockNumber)

/*
* end of chain and still didn't found parent, It's very-very
* rare situation when root splited
*/
break;

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Cédric Villemain 2011-05-05 11:35:52 Re: patch for new feature: Buffer Cache Hibernation
Previous Message Mitsuru IWASAKI 2011-05-05 10:10:35 Re: patch for new feature: Buffer Cache Hibernation