diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-01-25 23:26:11 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-01-25 23:26:11 +0000 |
| commit | 5997386a0a38f3ded28ce6eb2c2b4f110b377e46 (patch) | |
| tree | 7added7b57a9f64852d594ce830852fbc5f3764f /src/include/access/hash.h | |
| parent | c389760c324a1bfe0bebb6977d980e01a588985b (diff) | |
| download | postgresql-5997386a0a38f3ded28ce6eb2c2b4f110b377e46.tar.gz | |
Remove the no-longer-useful HashItem/HashItemData level of structure.
Same motivation as for BTItem.
Diffstat (limited to 'src/include/access/hash.h')
| -rw-r--r-- | src/include/access/hash.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/include/access/hash.h b/src/include/access/hash.h index f56b609dcf..636dc9cf18 100644 --- a/src/include/access/hash.h +++ b/src/include/access/hash.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/hash.h,v 1.64 2005/11/06 19:29:01 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/hash.h,v 1.65 2006/01/25 23:26:11 tgl Exp $ * * NOTES * modeled after Margo Seltzer's hash implementation for unix. @@ -158,13 +158,6 @@ typedef struct HashMetaPageData typedef HashMetaPageData *HashMetaPage; -typedef struct HashItemData -{ - IndexTupleData hash_itup; -} HashItemData; - -typedef HashItemData *HashItem; - /* * Maximum size of a hash index item (it's okay to have only one per page) */ @@ -267,7 +260,7 @@ extern Datum hash_any(register const unsigned char *k, register int keylen); /* private routines */ /* hashinsert.c */ -extern void _hash_doinsert(Relation rel, HashItem hitem); +extern void _hash_doinsert(Relation rel, IndexTuple itup); /* hashovfl.c */ extern Buffer _hash_addovflpage(Relation rel, Buffer metabuf, Buffer buf); @@ -305,7 +298,6 @@ extern bool _hash_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir); /* hashutil.c */ extern bool _hash_checkqual(IndexScanDesc scan, IndexTuple itup); -extern HashItem _hash_formitem(IndexTuple itup); extern uint32 _hash_datum2hashkey(Relation rel, Datum key); extern Bucket _hash_hashkey2bucket(uint32 hashkey, uint32 maxbucket, uint32 highmask, uint32 lowmask); |
