Re: Newbie Developer Question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Newbie Developer Question
Дата
Msg-id 12333.1170310968@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Newbie Developer Question  ("Matthew Campbell" <mtthw.cmpbll@gmail.com>)
Ответы Re: Newbie Developer Question  ("Matthew Campbell" <mtthw.cmpbll@gmail.com>)
Список pgsql-novice
"Matthew Campbell" <mtthw.cmpbll@gmail.com> writes:
> ... We've been digging through the src/backend/access/hash/
> and we're having a hard time figuring out the correct way to walk through
> items in a page.  Is this what the hashbeginscan() method is for?

No, hashbeginscan doesn't do much at all except initialize state.  The
interesting stuff happens during successive hashgettuple calls ---
specifically _hash_first the first time and _hash_next on later calls.

            regards, tom lane

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

Предыдущее
От: "Matthew Campbell"
Дата:
Сообщение: Newbie Developer Question
Следующее
От: ann hedley
Дата:
Сообщение: [Fwd: query efficiency - Can I speed it up?]