Re: gist picksplit iteration

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: gist picksplit iteration
Дата
Msg-id m239sjjfru.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на gist picksplit iteration  (Marios Vodas <mvodas@gmail.com>)
Список pgsql-hackers
Marios Vodas <mvodas@gmail.com> writes:
> I would expect it to start from 0, since C arrays are 0 based.
> So my question is why does this happen?

Well I don't have any good answer other than "it's the API".

Time to have a look at some contrib code and some other, maybe, like
ip4r or prefix (the former is fixed size, the later a varlena struct,
pick a good example for you).

-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Issues with Quorum Commit
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Issues with Quorum Commit