diff --git a/src/backend/distributed/shared_library_init.c b/src/backend/distributed/shared_library_init.c index 4a1054d0a..fe852ff1b 100644 --- a/src/backend/distributed/shared_library_init.c +++ b/src/backend/distributed/shared_library_init.c @@ -63,7 +63,6 @@ void _PG_init(void); static void multi_log_hook(ErrorData *edata); static void CreateRequiredDirectories(void); static void RegisterCitusConfigVariables(void); -static void WarningForEnableDeadlockPrevention(bool newval, void *extra); static bool ErrorIfNotASuitableDeadlockFactor(double *newval, void **extra, GucSource source); static void NormalizeWorkerListPath(void); @@ -487,7 +486,7 @@ RegisterCitusConfigVariables(void) true, PGC_USERSET, GUC_NO_SHOW_ALL, - NULL, WarningForEnableDeadlockPrevention, NULL); + NULL, NULL, NULL); DefineCustomBoolVariable( "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 * distributed deadlock checking. Here we enforce our special constraint.