Re: Need a good .

From: Neil Conway <neilc(at)samurai(dot)com>
To: "Thomas Hallgren" <thhal(at)mailblocks(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Need a good .
Date: 2004-01-04 16:19:32
Message-ID: m2k747lm97.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Thomas Hallgren" <thhal(at)mailblocks(dot)com> writes:
> I'm working on a pljava module. In it, I'd like to cache some allocated
> structures (allocated using TopMemoryContext) using a string as the key. I
> need a hash or binary-search table with dynamic size where I can store
> arbitrary structures and then find them using strings.

Take a look at src/backend/utils/hash/dynahash.c

-Neil

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2004-01-04 16:23:22 Re: *sigh*
Previous Message A E 2004-01-04 15:22:14 Remote Procedures