* for developers. If you edit any of these, be sure to do a *full*
* rebuild (and an initdb if noted).
*
- * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.16 2005/03/29 03:01:32 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.21 2006/04/03 23:35:05 tgl Exp $
*------------------------------------------------------------------------
*/
*/
#define RELSEG_SIZE (0x40000000 / BLCKSZ)
+/*
+ * Size of a WAL file block. This need have no particular relation to BLCKSZ.
+ * XLOG_BLCKSZ must be a power of 2, and if your system supports O_DIRECT I/O,
+ * XLOG_BLCKSZ must be a multiple of the alignment requirement for direct-I/O
+ * buffers, else direct I/O may fail.
+ *
+ * Changing XLOG_BLCKSZ requires an initdb.
+ */
+#define XLOG_BLCKSZ 8192
+
/*
* XLOG_SEG_SIZE is the size of a single WAL file. This must be a power of 2
- * and larger than BLCKSZ (preferably, a great deal larger than BLCKSZ).
+ * and larger than XLOG_BLCKSZ (preferably, a great deal larger than
+ * XLOG_BLCKSZ).
*
* Changing XLOG_SEG_SIZE requires an initdb.
*/
*/
#define INDEX_MAX_KEYS 32
+/*
+ * Number of spare LWLocks to allocate for user-defined add-on code.
+ */
+#define NUM_USER_DEFINED_LWLOCKS 4
+
/*
* Define this to make libpgtcl's "pg_result -assign" command process
* C-style backslash sequences in returned tuple data and convert
/*
* Disable UNIX sockets for those operating system.
*/
-#if defined(__QNX__) || defined(__BEOS__) || defined(WIN32)
+#if defined(WIN32)
#undef HAVE_UNIX_SOCKETS
#endif
/*
* Define this if your operating system supports link()
*/
-#if !defined(__QNX__) && !defined(__BEOS__) && \
- !defined(WIN32) && !defined(__CYGWIN__)
+#if !defined(WIN32) && !defined(__CYGWIN__)
#define HAVE_WORKING_LINK 1
#endif
*/
/* #define WAL_DEBUG */
+/*
+ * Enable tracing of resource consumption during sort operations;
+ * see also the trace_sort GUC var. For 8.1 this is enabled by default.
+ */
+#define TRACE_SORT 1
+
/*
* Other debug #defines (documentation, anyone?)
*/
-/* #define IPORTAL_DEBUG */
-/* #define HEAPDEBUGALL */
+/* #define HEAPDEBUGALL */
/* #define ACLDEBUG */
/* #define RTDEBUG */
-/* #define GISTDEBUG */