diff options
Diffstat (limited to 'src/include/access/genam.h')
| -rw-r--r-- | src/include/access/genam.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/access/genam.h b/src/include/access/genam.h index c1859a0c6d..c7ebae9931 100644 --- a/src/include/access/genam.h +++ b/src/include/access/genam.h @@ -7,13 +7,14 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/genam.h,v 1.60 2006/05/10 23:18:39 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/genam.h,v 1.61 2006/07/02 02:23:22 momjian Exp $ * *------------------------------------------------------------------------- */ #ifndef GENAM_H #define GENAM_H +#include "access/heapam.h" #include "access/itup.h" #include "access/relscan.h" #include "access/sdir.h" @@ -144,4 +145,13 @@ extern SysScanDesc systable_beginscan(Relation heapRelation, extern HeapTuple systable_getnext(SysScanDesc sysscan); extern void systable_endscan(SysScanDesc sysscan); + +typedef HeapOption IndexOption; + +extern bytea *genam_option(ArrayType *options, + int minFillfactor, int defaultFillfactor); + +#define IndexGetFillFactor(relation) HeapGetFillFactor(relation) +#define IndexGetPageFreeSpace(relation) HeapGetPageFreeSpace(relation) + #endif /* GENAM_H */ |
