|
|
@ -7,24 +7,16 @@ |
|
|
|
* |
|
|
|
* |
|
|
|
* |
|
|
|
* |
|
|
|
* IDENTIFICATION |
|
|
|
* IDENTIFICATION |
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.1.1.1 1996/07/09 06:21:10 scrappy Exp $ |
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.2 1996/10/20 06:34:16 scrappy Exp $ |
|
|
|
* |
|
|
|
* |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
#include "postgres.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "storage/bufmgr.h" |
|
|
|
|
|
|
|
#include "storage/bufpage.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "utils/elog.h" |
|
|
|
#include "postgres.h" |
|
|
|
#include "utils/palloc.h" |
|
|
|
|
|
|
|
#include "utils/rel.h" |
|
|
|
#include "utils/rel.h" |
|
|
|
#include "utils/excid.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "access/heapam.h" |
|
|
|
|
|
|
|
#include "access/genam.h" |
|
|
|
|
|
|
|
#include "access/hash.h" |
|
|
|
#include "access/hash.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static InsertIndexResult _hash_insertonpg(Relation rel, Buffer buf, int keysz, ScanKey scankey, HashItem hitem, Buffer metabuf); |
|
|
|
static InsertIndexResult _hash_insertonpg(Relation rel, Buffer buf, int keysz, ScanKey scankey, HashItem hitem, Buffer metabuf); |
|
|
|
static OffsetNumber _hash_pgaddtup(Relation rel, Buffer buf, int keysz, ScanKey itup_scankey, Size itemsize, HashItem hitem); |
|
|
|
static OffsetNumber _hash_pgaddtup(Relation rel, Buffer buf, int keysz, ScanKey itup_scankey, Size itemsize, HashItem hitem); |
|
|
|
|
|
|
|
|
|
|
|