Re: Newbie Developer Question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew Campbell" <mtthw(dot)cmpbll(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Newbie Developer Question
Date: 2007-02-01 06:22:48
Message-ID: 12333.1170310968@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Matthew Campbell" <mtthw(dot)cmpbll(at)gmail(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message ann hedley 2007-02-01 07:39:00 [Fwd: query efficiency - Can I speed it up?]
Previous Message Matthew Campbell 2007-02-01 03:38:23 Newbie Developer Question