]> granicus.if.org Git - postgresql/blobdiff - src/include/catalog/pg_am.h
Add FILLFACTOR to CREATE INDEX.
[postgresql] / src / include / catalog / pg_am.h
index c81409bbbfdac8e87eaa42e57b1221e3008f42f1..5e0d1cf4b6e7156e73d0577eb2728f67490b483f 100644 (file)
@@ -8,7 +8,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/catalog/pg_am.h,v 1.40 2006/03/05 15:58:54 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_am.h,v 1.44 2006/07/02 02:23:22 momjian Exp $
  *
  * NOTES
  *             the genbki.sh script reads this file and generates .bki
@@ -50,7 +50,9 @@ CATALOG(pg_am,2601)
        bool            amcanmulticol;  /* does AM support multi-column indexes? */
        bool            amoptionalkey;  /* can query omit key for the first column? */
        bool            amindexnulls;   /* does AM support NULL index entries? */
+       bool            amstorage;              /* can storage type differ from column type? */
        bool            amconcurrent;   /* does AM support concurrent updates? */
+       bool            amclusterable;  /* does AM support cluster command? */
        regproc         aminsert;               /* "insert this tuple" function */
        regproc         ambeginscan;    /* "start new scan" function */
        regproc         amgettuple;             /* "next valid tuple" function */
@@ -63,6 +65,7 @@ CATALOG(pg_am,2601)
        regproc         ambulkdelete;   /* bulk-delete function */
        regproc         amvacuumcleanup;        /* post-VACUUM cleanup function */
        regproc         amcostestimate; /* estimate cost of an indexscan */
+       regproc         amoption;               /* parse AM-specific parameters */
 } FormData_pg_am;
 
 /* ----------------
@@ -76,7 +79,7 @@ typedef FormData_pg_am *Form_pg_am;
  *             compiler constants for pg_am
  * ----------------
  */
-#define Natts_pg_am                                            21
+#define Natts_pg_am                                            24
 #define Anum_pg_am_amname                              1
 #define Anum_pg_am_amstrategies                        2
 #define Anum_pg_am_amsupport                   3
@@ -85,33 +88,39 @@ typedef FormData_pg_am *Form_pg_am;
 #define Anum_pg_am_amcanmulticol               6
 #define Anum_pg_am_amoptionalkey               7
 #define Anum_pg_am_amindexnulls                        8
-#define Anum_pg_am_amconcurrent                        9
-#define Anum_pg_am_aminsert                            10
-#define Anum_pg_am_ambeginscan                 11
-#define Anum_pg_am_amgettuple                  12
-#define Anum_pg_am_amgetmulti                  13
-#define Anum_pg_am_amrescan                            14
-#define Anum_pg_am_amendscan                   15
-#define Anum_pg_am_ammarkpos                   16
-#define Anum_pg_am_amrestrpos                  17
-#define Anum_pg_am_ambuild                             18
-#define Anum_pg_am_ambulkdelete                        19
-#define Anum_pg_am_amvacuumcleanup             20
-#define Anum_pg_am_amcostestimate              21
+#define Anum_pg_am_amstorage                   9
+#define Anum_pg_am_amconcurrent                        10
+#define Anum_pg_am_amclusterable               11
+#define Anum_pg_am_aminsert                            12
+#define Anum_pg_am_ambeginscan                 13
+#define Anum_pg_am_amgettuple                  14
+#define Anum_pg_am_amgetmulti                  15
+#define Anum_pg_am_amrescan                            16
+#define Anum_pg_am_amendscan                   17
+#define Anum_pg_am_ammarkpos                   18
+#define Anum_pg_am_amrestrpos                  19
+#define Anum_pg_am_ambuild                             20
+#define Anum_pg_am_ambulkdelete                        21
+#define Anum_pg_am_amvacuumcleanup             22
+#define Anum_pg_am_amcostestimate              23
+#define Anum_pg_am_amoption                            24
 
 /* ----------------
  *             initial contents of pg_am
  * ----------------
  */
 
-DATA(insert OID = 403 (  btree 5 1 1 t t t t t btinsert btbeginscan btgettuple btgetmulti btrescan btendscan btmarkpos btrestrpos btbuild btbulkdelete btvacuumcleanup btcostestimate ));
+DATA(insert OID = 403 (  btree 5 1 1 t t t t f t t btinsert btbeginscan btgettuple btgetmulti btrescan btendscan btmarkpos btrestrpos btbuild btbulkdelete btvacuumcleanup btcostestimate btoption ));
 DESCR("b-tree index access method");
 #define BTREE_AM_OID 403
-DATA(insert OID = 405 (  hash  1 1 0 f f f f t hashinsert hashbeginscan hashgettuple hashgetmulti hashrescan hashendscan hashmarkpos hashrestrpos hashbuild hashbulkdelete - hashcostestimate ));
+DATA(insert OID = 405 (  hash  1 1 0 f f f f f t f hashinsert hashbeginscan hashgettuple hashgetmulti hashrescan hashendscan hashmarkpos hashrestrpos hashbuild hashbulkdelete hashvacuumcleanup hashcostestimate hashoption ));
 DESCR("hash index access method");
 #define HASH_AM_OID 405
-DATA(insert OID = 783 (  gist  100 7 0 f t f f t gistinsert gistbeginscan gistgettuple gistgetmulti gistrescan gistendscan gistmarkpos gistrestrpos gistbuild gistbulkdelete gistvacuumcleanup gistcostestimate ));
+DATA(insert OID = 783 (  gist  100 7 0 f t t t t t t gistinsert gistbeginscan gistgettuple gistgetmulti gistrescan gistendscan gistmarkpos gistrestrpos gistbuild gistbulkdelete gistvacuumcleanup gistcostestimate gistoption ));
 DESCR("GiST index access method");
 #define GIST_AM_OID 783
+DATA(insert OID = 2742 (  gin  100 4 0 f f f f t t f gininsert ginbeginscan gingettuple gingetmulti ginrescan ginendscan ginmarkpos ginrestrpos ginbuild ginbulkdelete ginvacuumcleanup gincostestimate ginoption ));
+DESCR("GIN index access method");
+#define GIN_AM_OID 2742
 
 #endif   /* PG_AM_H */