From 05e60d18f4795dbbca51c1feb551f001bc1a2359 Mon Sep 17 00:00:00 2001 From: jiangyan <18091841830@163.com> Date: Thu, 26 Sep 2024 11:20:15 +0800 Subject: [PATCH] =?UTF-8?q?[master=E5=9B=9E=E5=90=886.0.0]disable=5Fconn?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=8D=E5=86=8D=E4=B8=BB=E5=8A=A8=E5=8E=BB?= =?UTF-8?q?=E5=90=AF=E5=8A=A8walrecv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/process/postmaster/postmaster.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gausskernel/process/postmaster/postmaster.cpp b/src/gausskernel/process/postmaster/postmaster.cpp index ded45770e..4096af265 100644 --- a/src/gausskernel/process/postmaster/postmaster.cpp +++ b/src/gausskernel/process/postmaster/postmaster.cpp @@ -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; }