⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.h

📁 PostgreSQL 8.1.4的源码 适用于Linux下的开源数据库系统
💻 H
字号:
/*------------------------------------------------------------------------- * * index.h *	  prototypes for index.c. * * * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $PostgreSQL: pgsql/src/include/catalog/index.h,v 1.64 2005/10/15 02:49:42 momjian Exp $ * *------------------------------------------------------------------------- */#ifndef INDEX_H#define INDEX_H#include "access/itup.h"#include "catalog/pg_index.h"#include "nodes/execnodes.h"#define DEFAULT_INDEX_TYPE	"btree"/* Typedef for callback function for IndexBuildHeapScan */typedef void (*IndexBuildCallback) (Relation index,												HeapTuple htup,												Datum *values,												bool *isnull,												bool tupleIsAlive,												void *state);extern Oid index_create(Oid heapRelationId,			 const char *indexRelationName,			 Oid indexRelationId,			 IndexInfo *indexInfo,			 Oid accessMethodObjectId,			 Oid tableSpaceId,			 Oid *classObjectId,			 bool primary,			 bool isconstraint,			 bool allow_system_table_mods,			 bool skip_build);extern void index_drop(Oid indexId);extern IndexInfo *BuildIndexInfo(Relation index);extern void FormIndexDatum(IndexInfo *indexInfo,			   TupleTableSlot *slot,			   EState *estate,			   Datum *values,			   bool *isnull);extern void IndexCloseAndUpdateStats(Relation heap, double heapTuples,						 Relation index, double indexTuples);extern void setRelhasindex(Oid relid, bool hasindex,			   bool isprimary, Oid reltoastidxid);extern void setNewRelfilenode(Relation relation);extern void index_build(Relation heapRelation, Relation indexRelation,			IndexInfo *indexInfo);extern double IndexBuildHeapScan(Relation heapRelation,				   Relation indexRelation,				   IndexInfo *indexInfo,				   IndexBuildCallback callback,				   void *callback_state);extern void reindex_index(Oid indexId);extern bool reindex_relation(Oid relid, bool toast_too);#endif   /* INDEX_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -