Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group