mirror of https://github.com/citusdata/citus.git
Remove enable_deadlock_prevention prevention warning
parent
6862cd066e
commit
377b31dcf7
|
@ -63,7 +63,6 @@ void _PG_init(void);
|
||||||
static void multi_log_hook(ErrorData *edata);
|
static void multi_log_hook(ErrorData *edata);
|
||||||
static void CreateRequiredDirectories(void);
|
static void CreateRequiredDirectories(void);
|
||||||
static void RegisterCitusConfigVariables(void);
|
static void RegisterCitusConfigVariables(void);
|
||||||
static void WarningForEnableDeadlockPrevention(bool newval, void *extra);
|
|
||||||
static bool ErrorIfNotASuitableDeadlockFactor(double *newval, void **extra,
|
static bool ErrorIfNotASuitableDeadlockFactor(double *newval, void **extra,
|
||||||
GucSource source);
|
GucSource source);
|
||||||
static void NormalizeWorkerListPath(void);
|
static void NormalizeWorkerListPath(void);
|
||||||
|
@ -487,7 +486,7 @@ RegisterCitusConfigVariables(void)
|
||||||
true,
|
true,
|
||||||
PGC_USERSET,
|
PGC_USERSET,
|
||||||
GUC_NO_SHOW_ALL,
|
GUC_NO_SHOW_ALL,
|
||||||
NULL, WarningForEnableDeadlockPrevention, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
DefineCustomBoolVariable(
|
DefineCustomBoolVariable(
|
||||||
"citus.enable_ddl_propagation",
|
"citus.enable_ddl_propagation",
|
||||||
|
@ -922,18 +921,6 @@ RegisterCitusConfigVariables(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Inform the users about the deprecated flag.
|
|
||||||
*/
|
|
||||||
static void
|
|
||||||
WarningForEnableDeadlockPrevention(bool newval, void *extra)
|
|
||||||
{
|
|
||||||
ereport(WARNING, (errcode(ERRCODE_WARNING_DEPRECATED_FEATURE),
|
|
||||||
errmsg("citus.enable_deadlock_prevention is deprecated and it has "
|
|
||||||
"no effect. The flag will be removed in the next release.")));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We don't want to allow values less than 1.0. However, we define -1 as the value to disable
|
* We don't want to allow values less than 1.0. However, we define -1 as the value to disable
|
||||||
* distributed deadlock checking. Here we enforce our special constraint.
|
* distributed deadlock checking. Here we enforce our special constraint.
|
||||||
|
|
Loading…
Reference in New Issue