Header And Logo

PostgreSQL
| The world's most advanced open source database.

indexfsm.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * indexfsm.h
00004  *    POSTGRES free space map for quickly finding an unused page in index
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/storage/indexfsm.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef INDEXFSM_H_
00015 #define INDEXFSM_H_
00016 
00017 #include "storage/block.h"
00018 #include "utils/relcache.h"
00019 
00020 extern BlockNumber GetFreeIndexPage(Relation rel);
00021 extern void RecordFreeIndexPage(Relation rel, BlockNumber page);
00022 extern void RecordUsedIndexPage(Relation rel, BlockNumber page);
00023 
00024 extern void IndexFreeSpaceMapVacuum(Relation rel);
00025 
00026 #endif   /* INDEXFSM_H_ */