summaryrefslogtreecommitdiff
path: root/src/include/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/config.h.in')
-rw-r--r--src/include/config.h.in59
1 files changed, 28 insertions, 31 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index fb472061f5..b7a95be0ed 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -1,8 +1,14 @@
-
-
-/* the purpose of this file is to reduce the use of #ifdef's through
- * the code base by those porting the software, and to facilitate the
- * eventual use of autoconf to build the server
+/*
+ * PostgreSQL configuration-settings file.
+ *
+ * config.h.in is processed by configure to produce config.h.
+ *
+ * If you want to modify any of the tweakable settings in the first part
+ * of this file, you can do it in config.h.in before running configure,
+ * or in config.h afterwards. Of course, if you edit config.h, then your
+ * changes will be overwritten the next time you run configure.
+ *
+ * $Id: config.h.in,v 1.110 2000/03/17 05:29:06 tgl Exp $
*/
#ifndef CONFIG_H
@@ -11,7 +17,7 @@
/*
* Default runtime limit on number of backend server processes per postmaster;
* this is just the default setting for the postmaster's -N switch.
- * (Actual value is set by configure script.)
+ * (Actual value is now set by configure script.)
*/
#undef DEF_MAXBACKENDS
@@ -70,18 +76,12 @@
/*
* 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. (set by configure script)
+ * and the postconfig hook. (now set by configure script)
*/
#undef DEF_PGPORT
/*
- * If you do not plan to use Host based authentication,
- * comment out the following line (set by build script)
- */
-#undef HBA
-
-/*
* As soon as the backend blocks on a lock, it waits this number of seconds
* before checking for a deadlock.
* We don't check for deadlocks just before sleeping because a deadlock is
@@ -90,12 +90,6 @@
#define DEADLOCK_CHECK_TIMER 1
/*
- * This flag enables the use of indexes in plans generated for function
- * executions which normally are always executed with sequential scans.
- */
-#define INDEXSCAN_PATCH
-
-/*
* Maximum number of columns in an index and maximum number of arguments
* to a function. They must be the same value.
*
@@ -122,16 +116,6 @@
/* #define UNSAFE_FLOATS */
/*
- * There is a bug in the function executor. The backend crashes while trying to
- * execute an sql function containing an utility command (create, notify, ...).
- * The bug is part in the planner, which returns a number of plans different
- * than the number of commands if there are utility commands in the query, and
- * in part in the function executor which assumes that all commands are normal
- * query commands and causes a SIGSEGV trying to execute commands without plan.
- */
-#define FUNC_UTIL_PATCH
-
-/*
* Define this to make libpgtcl's "pg_result -assign" command process C-style
* backslash sequences in returned tuple data and convert Postgres array
* attributes into Tcl lists. CAUTION: this conversion is *wrong* unless
@@ -188,7 +172,7 @@
#define FASTBUILD /* access/nbtree/nbtsort.c */
/*
- * TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside
+ * TBL_FREE_CMD_MEMORY: free memory allocated for a user query inside
* transaction block after this query is done.
*/
#define TBL_FREE_CMD_MEMORY
@@ -233,8 +217,21 @@
#define MAXPGPATH 1024
/*
+ * DEFAULT_MAX_EXPR_DEPTH: default value of max_expr_depth SET variable.
+ */
+#define DEFAULT_MAX_EXPR_DEPTH 10000
+
+/*
+ * Leftover cruft for enabling long-since-verified patches.
+ * You don't want to touch these.
+ */
+#define INDEXSCAN_PATCH
+#define FUNC_UTIL_PATCH
+
+
+/*
*------------------------------------------------------------------------
- * The following is set using configure.
+ * Everything past here is set by the configure script.
*------------------------------------------------------------------------
*/