mirror of
https://github.com/postgres/postgres.git
synced 2025-10-22 14:32:25 +03:00
Clean up some really grotty coding in catcache.c, improve hashing
performance in catcache lookups.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: hash.h,v 1.30 2000/01/26 05:57:50 momjian Exp $
|
||||
* $Id: hash.h,v 1.31 2000/02/21 03:36:51 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* modeled after Margo Seltzer's hash implementation for unix.
|
||||
@@ -270,6 +270,7 @@ extern uint32 hashfloat4(float32 keyp);
|
||||
extern uint32 hashfloat8(float64 keyp);
|
||||
extern uint32 hashoid(Oid key);
|
||||
extern uint32 hashoidvector(Oid *key);
|
||||
extern uint32 hashint2vector(int16 *key);
|
||||
extern uint32 hashchar(char key);
|
||||
extern uint32 hashtext(struct varlena * key);
|
||||
extern uint32 hashname(NameData *n);
|
||||
|
Reference in New Issue
Block a user