]> granicus.if.org Git - postgresql/blobdiff - src/include/config.h.in
Massive commit to run PGINDENT on all *.c and *.h files.
[postgresql] / src / include / config.h.in
index 8ee3faee34aa10a1f56faea19174e7a270a41843..2d2b599fd56a60faf2a9b307f19e3bb13877c644 100644 (file)
@@ -14,6 +14,9 @@
  * The following is set using configure.  
  */
 
+/* Set to 1 if you have <netdb.h> */
+#undef HAVE_NETDB_H
+
 /* Set to 1 if you have <endian.h> */
 #undef HAVE_ENDIAN_H
 
@@ -41,6 +44,9 @@
 /* Set to 1 if you have <history.h> */
 #undef HAVE_HISTORY
 
+/* Set to 1 if you have <readline/history.h> */
+#undef HAVE_READLINE_HISTORY_H
+
 /* Set to 1 if you have <dld.h> */
 #undef HAVE_DLD_H
 
@@ -59,6 +65,9 @@
 /* Set to 1 if you have inet_aton() */
 #undef HAVE_INET_ATON
 
+/* Set to 1 if you have fcvt() */
+#undef HAVE_FCVT
+
 /* Set to 1 if you have strerror() */
 #undef HAVE_STRERROR
 
 /* Set to 1 if you want to USE_LOCALE */
 #undef USE_LOCALE
 
+/* Set to 1 if you want to Disable ASSERT CHECKING */
+#undef NO_ASSERT_CHECKING
+
 /*
  * Code below this point should not require changes
  */
 
 #include "os.h"
 
-/* This patch changes the behavior of aclcheck for groups. Currently an user
- * can access a table only if he has the required permission for ALL the groups
- * defined for that table. With my patch he can access a table if he has the
- * permission for ONE of the groups, which seems to me a more useful thing.
- * 
- * Used in: src/backend/tcop/aclchk.c
- * Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
- */
-#define        ACLGROUP_PATCH
-
-
 /*
  * The following is used as the arg list for signal handlers.  Any ports
  * that take something other than an int argument should change this in
 /* 
  * DEF_PGPORT is the TCP port number on which the Postmaster listens by
  * default.  This can be overriden by command options, environment variables,
- * and the postconfig hook.
+ * and the postconfig hook. (set by build script)
  */ 
 
-#define DEF_PGPORT "5432"
+#undef DEF_PGPORT 
 
 /*
  * If you do not plan to use Host based authentication,
- * comment out the following line
+ * comment out the following line (set by build script)
  */
-#define HBA
+#undef HBA
 
 /*
  * On architectures for which we have not implemented spinlocks (or
  */
 /* #define PSQL_ALWAYS_GET_PASSWORDS */
 
-/* Undocumented "features"? */
+/*
+ * Use btree bulkload code: 
+ * this code is moderately slow (~10% slower) compared to the regular
+ * btree (insertion) build code on sorted or well-clustered data.  on
+ * random data, however, the insertion build code is unusable -- the
+ * difference on a 60MB heap is a factor of 15 because the random
+ * probes into the btree thrash the buffer pool.
+ *
+ * Great thanks to Paul M. Aoki (aoki@CS.Berkeley.EDU)
+ */
 #define FASTBUILD /* access/nbtree/nbtsort.c */
 
+/* 
+ * BTREE_VERSION_1: we must guarantee that all tuples in A LEVEL
+ * are unique, not in ALL INDEX. So, we can use bti_itup->t_tid                
+ * as unique identifier for a given index tuple (logical position
+ * within a level) and take off bti_oid & bti_dummy (8 bytes total)
+ * from btree items.
+ */
+#define BTREE_VERSION_1
+
 #endif /* CONFIG_H */