| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера