diff options
Diffstat (limited to 'src/include/utils/guc_tables.h')
-rw-r--r-- | src/include/utils/guc_tables.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/utils/guc_tables.h b/src/include/utils/guc_tables.h index a0ebf2c5298..292d04310f6 100644 --- a/src/include/utils/guc_tables.h +++ b/src/include/utils/guc_tables.h @@ -7,7 +7,7 @@ * * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/utils/guc_tables.h,v 1.28 2006/08/14 02:27:27 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/guc_tables.h,v 1.29 2006/10/03 21:11:55 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -132,12 +132,13 @@ struct config_generic #define GUC_UNIT_KB 0x0400 /* value is in 1 kB */ #define GUC_UNIT_BLOCKS 0x0800 /* value is in blocks */ -#define GUC_UNIT_MEMORY (GUC_UNIT_KB|GUC_UNIT_BLOCKS) +#define GUC_UNIT_XBLOCKS 0x0C00 /* value is in xlog blocks */ +#define GUC_UNIT_MEMORY 0x0C00 /* mask for KB, BLOCKS, XBLOCKS */ #define GUC_UNIT_MS 0x1000 /* value is in milliseconds */ #define GUC_UNIT_S 0x2000 /* value is in seconds */ #define GUC_UNIT_MIN 0x4000 /* value is in minutes */ -#define GUC_UNIT_TIME (GUC_UNIT_MS|GUC_UNIT_S|GUC_UNIT_MIN) +#define GUC_UNIT_TIME 0x7000 /* mask for MS, S, MIN */ /* bit values in status field */ #define GUC_HAVE_TENTATIVE 0x0001 /* tentative value is defined */ |