diff options
Diffstat (limited to 'src/include/pg_config_manual.h')
-rw-r--r-- | src/include/pg_config_manual.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h index a5170b5f22d..e41b11e8319 100644 --- a/src/include/pg_config_manual.h +++ b/src/include/pg_config_manual.h @@ -6,7 +6,7 @@ * 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.20 2006/01/05 03:01:37 momjian Exp $ + * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.21 2006/04/03 23:35:05 tgl Exp $ *------------------------------------------------------------------------ */ @@ -44,8 +44,19 @@ #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. */ |