diff options
| author | Koichi Suzuki | 2012-03-29 02:03:25 +0000 |
|---|---|---|
| committer | Koichi Suzuki | 2012-03-29 02:03:25 +0000 |
| commit | 0eaba1379aa2dde346a53eb15f8849c0e09861d0 (patch) | |
| tree | 330512c82b5db46c031b84f2874115860902602f /src/include/utils | |
| parent | dfda23e7547f457e15d79054f81d30e826faeecf (diff) | |
This commit adds GUC parameter xc_maintenance_mode. This is needed to control
behavior of some statements to be used to maintain XC database integrity by
dedicate utility programs such as pgxc_clean, which is now under the
development.
Also, this patch modifies implicit 2PC xid to _$XC$%u where %u is the transactionId.
Because it is essential to distinguish implicit 2PC from explicit one to maintain
database consisitensy, this patch checks xid in PREPARE TRANSACTION and rejects
xid for implicit 2PC.
See documentation for details.
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/guc_tables.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/utils/guc_tables.h b/src/include/utils/guc_tables.h index 645599b2ab..82fa92c5fd 100644 --- a/src/include/utils/guc_tables.h +++ b/src/include/utils/guc_tables.h @@ -93,10 +93,15 @@ enum config_group ERROR_HANDLING_OPTIONS, PRESET_OPTIONS, CUSTOM_OPTIONS, +#ifdef PGXC DEVELOPER_OPTIONS, DATA_NODES, GTM, - COORDINATORS + COORDINATORS, + XC_HOUSEKEEPING_OPTIONS +#else + DEVELOPER_OPTIONS +#endif }; /* |
