mirror of https://github.com/citusdata/citus.git
controldb_name should require retsart
parent
67d6246821
commit
c26415ce48
|
|
@ -1029,7 +1029,7 @@ RegisterCitusConfigVariables(void)
|
||||||
NULL,
|
NULL,
|
||||||
&ControlDbName,
|
&ControlDbName,
|
||||||
"",
|
"",
|
||||||
PGC_SU_BACKEND,
|
PGC_POSTMASTER,
|
||||||
GUC_STANDARD,
|
GUC_STANDARD,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -341,7 +341,6 @@ CitusMaintenanceDaemonMain(Datum main_arg)
|
||||||
|
|
||||||
if (databaseOid == 0)
|
if (databaseOid == 0)
|
||||||
{
|
{
|
||||||
/* TODO : Get the admin database name from GUC contro_db*/
|
|
||||||
char *databaseName = ControlDbName;
|
char *databaseName = ControlDbName;
|
||||||
|
|
||||||
BackgroundWorkerInitializeConnection(databaseName, NULL, 0);
|
BackgroundWorkerInitializeConnection(databaseName, NULL, 0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue