|
|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* IDENTIFICATION |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.3 1996/10/20 08:31:46 scrappy Exp $ |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.4 1996/10/21 05:45:15 scrappy Exp $ |
|
|
|
|
* |
|
|
|
|
* NOTES |
|
|
|
|
* Postgres hash pages look like ordinary relation pages. The opaque |
|
|
|
|
@ -56,8 +56,24 @@ |
|
|
|
|
#include "access/relscan.h" |
|
|
|
|
#include "access/hash.h" |
|
|
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
|
#include "storage/ipc.h" |
|
|
|
|
#include "storage/bufmgr.h" |
|
|
|
|
|
|
|
|
|
#include "miscadmin.h" |
|
|
|
|
|
|
|
|
|
#include "utils/memutils.h" |
|
|
|
|
|
|
|
|
|
#include <string.h> |
|
|
|
|
|
|
|
|
|
#include "storage/spin.h" |
|
|
|
|
#include "utils/hsearch.h" |
|
|
|
|
#include "storage/shmem.h" |
|
|
|
|
#include "storage/lock.h" |
|
|
|
|
#include "storage/lmgr.h" |
|
|
|
|
|
|
|
|
|
#include "access/genam.h" |
|
|
|
|
|
|
|
|
|
static void _hash_setpagelock(Relation rel, BlockNumber blkno, int access); |
|
|
|
|
static void _hash_unsetpagelock(Relation rel, BlockNumber blkno, int access); |
|
|
|
|
static void _hash_splitpage(Relation rel, Buffer metabuf, Bucket obucket, Bucket nbucket); |
|
|
|
|
|