Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 69db009

Browse files
committed
Add a citation to Seltzer and Yigit's Usenix '91 paper about hash table
management. The paper clearly describes many of the ideas embodied in our current hashing code, but as far as I could find out there is not a direct code heritage. (Mike Olsen recalls discussion of this paper at Postgres meetings but believes it "informed the Postgres implementation probably just at the design level". Margo herself says she wasn't involved with Postgres' hash code.) Credit where credit is due 'n all that, even if fifteen years after the fact.
1 parent 352871c commit 69db009

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/backend/access/hash/README

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
$PostgreSQL: pgsql/src/backend/access/hash/README,v 1.4 2003/11/29 19:51:40 pgsql Exp $
2-
3-
This directory contains an implementation of hash indexing for Postgres.
1+
$PostgreSQL: pgsql/src/backend/access/hash/README,v 1.5 2007/01/09 07:30:49 tgl Exp $
2+
3+
This directory contains an implementation of hash indexing for Postgres. Most
4+
of the core ideas are taken from Margo Seltzer and Ozan Yigit, A New Hashing
5+
Package for UNIX, Proceedings of the Winter USENIX Conference, January 1991.
6+
(Our in-memory hashtable implementation, src/backend/utils/hash/dynahash.c,
7+
also relies on some of the same concepts; it is derived from code written by
8+
Esmond Pitt and later improved by Margo among others.)
49

510
A hash index consists of two or more "buckets", into which tuples are
611
placed whenever their hash key maps to the bucket number. The

0 commit comments

Comments
 (0)