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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group