|
|
|
@ -8,36 +8,64 @@ |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* IDENTIFICATION |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.3 1996/08/26 06:28:21 scrappy Exp $ |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.4 1996/10/20 10:53:08 scrappy Exp $ |
|
|
|
|
* |
|
|
|
|
* NOTES |
|
|
|
|
* This file contains only the public interface routines. |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
|
#include "postgres.h" |
|
|
|
|
|
|
|
|
|
#include "storage/bufmgr.h" |
|
|
|
|
#include "storage/bufpage.h" |
|
|
|
|
#include "postgres.h" |
|
|
|
|
|
|
|
|
|
#include "utils/elog.h" |
|
|
|
|
#include "utils/palloc.h" |
|
|
|
|
#include "catalog/pg_attribute.h" |
|
|
|
|
#include "access/attnum.h" |
|
|
|
|
#include "nodes/pg_list.h" |
|
|
|
|
#include "access/tupdesc.h" |
|
|
|
|
#include "storage/fd.h" |
|
|
|
|
#include "catalog/pg_am.h" |
|
|
|
|
#include "catalog/pg_class.h" |
|
|
|
|
#include "nodes/nodes.h" |
|
|
|
|
#include "rewrite/prs2lock.h" |
|
|
|
|
#include "access/skey.h" |
|
|
|
|
#include "access/strat.h" |
|
|
|
|
#include "utils/rel.h" |
|
|
|
|
#include "utils/excid.h" |
|
|
|
|
|
|
|
|
|
#include "access/heapam.h" |
|
|
|
|
#include "access/genam.h" |
|
|
|
|
#include "storage/block.h" |
|
|
|
|
#include "storage/off.h" |
|
|
|
|
#include "storage/itemptr.h" |
|
|
|
|
#include "access/itup.h" |
|
|
|
|
#include "access/funcindex.h" |
|
|
|
|
#include "storage/itemid.h" |
|
|
|
|
#include "storage/item.h" |
|
|
|
|
#include "storage/buf.h" |
|
|
|
|
#include "storage/bufpage.h" |
|
|
|
|
#include <time.h> |
|
|
|
|
#include "utils/nabstime.h" |
|
|
|
|
#include "access/htup.h" |
|
|
|
|
#include "utils/tqual.h" |
|
|
|
|
#include "access/relscan.h" |
|
|
|
|
#include "access/sdir.h" |
|
|
|
|
#include "access/nbtree.h" |
|
|
|
|
#include "access/funcindex.h" |
|
|
|
|
|
|
|
|
|
#include "nodes/params.h" |
|
|
|
|
#include "executor/hashjoin.h" |
|
|
|
|
#include "nodes/primnodes.h" |
|
|
|
|
#include "nodes/memnodes.h" |
|
|
|
|
#include "executor/tuptable.h" |
|
|
|
|
#include "nodes/execnodes.h" |
|
|
|
|
#include "nodes/plannodes.h" |
|
|
|
|
|
|
|
|
|
#include "nodes/plannodes.h" |
|
|
|
|
#include "nodes/parsenodes.h" |
|
|
|
|
#include "tcop/dest.h" |
|
|
|
|
#include "executor/execdesc.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
#include "catalog/pg_index.h" |
|
|
|
|
#include "executor/executor.h" |
|
|
|
|
#include "executor/tuptable.h" |
|
|
|
|
|
|
|
|
|
#include "catalog/index.h" |
|
|
|
|
#include "access/heapam.h" |
|
|
|
|
|
|
|
|
|
#include "access/genam.h" |
|
|
|
|
|
|
|
|
|
bool BuildingBtree = false; |
|
|
|
|
bool FastBuild = false; /* turn this on to make bulk builds work*/ |
|
|
|
|