Skip to content
Snippets Groups Projects
Commit 879d1be2 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Declare hashint8().

parent b2b3d5d1
Branches
Tags
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: hash.h,v 1.21 1999/02/13 23:20:52 momjian Exp $ * $Id: hash.h,v 1.22 1999/04/15 02:23:37 thomas Exp $
* *
* NOTES * NOTES
* modeled after Margo Seltzer's hash implementation for unix. * modeled after Margo Seltzer's hash implementation for unix.
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <storage/bufpage.h> #include <storage/bufpage.h>
#include <access/relscan.h> #include <access/relscan.h>
#include <access/itup.h> #include <access/itup.h>
#include <utils/int8.h>
/* /*
* An overflow page is a spare page allocated for storing data whose * An overflow page is a spare page allocated for storing data whose
...@@ -264,6 +265,7 @@ extern void hashdelete(Relation rel, ItemPointer tid); ...@@ -264,6 +265,7 @@ extern void hashdelete(Relation rel, ItemPointer tid);
/* hashfunc.c */ /* hashfunc.c */
extern uint32 hashint2(int16 key); extern uint32 hashint2(int16 key);
extern uint32 hashint4(uint32 key); extern uint32 hashint4(uint32 key);
extern uint32 hashint8(int64 *key);
extern uint32 hashfloat4(float32 keyp); extern uint32 hashfloat4(float32 keyp);
extern uint32 hashfloat8(float64 keyp); extern uint32 hashfloat8(float64 keyp);
extern uint32 hashoid(Oid key); extern uint32 hashoid(Oid key);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment