[master回合6.0.0]disable_conn函数不再主动去启动walrecv

This commit is contained in:
jiangyan
2024-09-26 11:20:15 +08:00
parent a7b4c50703
commit 05e60d18f4

View File

@ -15087,9 +15087,6 @@ Datum disable_conn(PG_FUNCTION_ARGS)
ereport(ERROR,
(errcode(ERRCODE_INVALID_ATTRIBUTE), errmsg("Invalid null pointer attribute for disable_conn()")));
}
if (!WalRcvInProgress()) {
RequestXLogStreamForBarrier();
}
if (g_instance.pid_cxt.BarrierPreParsePID == 0) {
g_instance.csn_barrier_cxt.startBarrierPreParse = false;
}