gist picksplit iteration

Поиск
Список
Период
Сортировка
От Marios Vodas
Тема gist picksplit iteration
Дата
Msg-id AANLkTinCCVaiGAYr3Y13nukBJxu_zaVKqkTu2BsLX0b8@mail.gmail.com
обсуждение исходный текст
Ответы Re: gist picksplit iteration  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
At this page in documentation <a
href="http://www.postgresql.org/docs/9.0/static/gist-implementation.html">http://www.postgresql.org/docs/9.0/static/gist-implementation.html</a>
andunder "picksplit" the loop that iterates through entryvec->vector[] starts from 1 (since FirstOffsetNumber equals
1).<br/><div style="margin-left: 40px; font-family: courier new,monospace;">for (i = FirstOffsetNumber; i <= maxoff;
i= OffsetNumberNext(i))</div><br />I would expect it to start from 0, since C arrays are 0 based.<br />So my question
iswhy does this happen?<br /> 

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: is sync rep stalled?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: is sync rep stalled?