]> 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 29d19147d2d4df669e46a667acfc914764d28e75..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.41 2006/05/02 11:28:55 teodor 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,6 +50,7 @@ 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 */
@@ -64,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;
 
 /* ----------------
@@ -77,7 +79,7 @@ typedef FormData_pg_am *Form_pg_am;
  *             compiler constants for pg_am
  * ----------------
  */
-#define Natts_pg_am                                            22
+#define Natts_pg_am                                            24
 #define Anum_pg_am_amname                              1
 #define Anum_pg_am_amstrategies                        2
 #define Anum_pg_am_amsupport                   3
@@ -86,36 +88,38 @@ 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_amclusterable               10
-#define Anum_pg_am_aminsert                            11
-#define Anum_pg_am_ambeginscan                 12
-#define Anum_pg_am_amgettuple                  13
-#define Anum_pg_am_amgetmulti                  14
-#define Anum_pg_am_amrescan                            15
-#define Anum_pg_am_amendscan                   16
-#define Anum_pg_am_ammarkpos                   17
-#define Anum_pg_am_amrestrpos                  18
-#define Anum_pg_am_ambuild                             19
-#define Anum_pg_am_ambulkdelete                        20
-#define Anum_pg_am_amvacuumcleanup             21
-#define Anum_pg_am_amcostestimate              22
+#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 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 f 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 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 f gininsert ginbeginscan gingettuple gingetmulti ginrescan ginendscan ginmarkpos ginrestrpos ginbuild ginbulkdelete ginvacuumcleanup gincostestimate ));
+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