From 3de2c2327578469c14825f45367f3bba00fcd5b7 Mon Sep 17 00:00:00 2001 From: lvhui Date: Mon, 3 Apr 2023 14:46:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?show=20warnings=E5=9C=A8jdbc=E7=9A=84(PBE)?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E4=B8=AD=EF=BC=8C=E7=BC=BA=E5=B0=91error?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=8B=B7=E8=B4=9D=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/process/tcop/postgres.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gausskernel/process/tcop/postgres.cpp b/src/gausskernel/process/tcop/postgres.cpp index 1ddc7fbde5..88b1678778 100755 --- a/src/gausskernel/process/tcop/postgres.cpp +++ b/src/gausskernel/process/tcop/postgres.cpp @@ -5200,6 +5200,7 @@ static void exec_execute_message(const char* portal_name, long max_rows) if (dest == DestRemoteExecute) SetRemoteDestReceiverParams(receiver, portal); + resetErrorDataArea(true); /* * Ensure we are in a transaction command (this should normally be the * case already due to prior BIND). -- Gitee From be971da99395a563b91c7140831beeccc34c37cb Mon Sep 17 00:00:00 2001 From: lvhui Date: Tue, 11 Apr 2023 16:23:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96show=20warnings=E5=9C=A8P?= =?UTF-8?q?BE=E6=B5=81=E7=A8=8B=E4=B8=AD=EF=BC=8Cfetchsize=E5=AF=B9exec=5F?= =?UTF-8?q?execute=5Fmessage=E7=9A=84=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/process/tcop/postgres.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gausskernel/process/tcop/postgres.cpp b/src/gausskernel/process/tcop/postgres.cpp index 88b1678778..d6c3db8720 100755 --- a/src/gausskernel/process/tcop/postgres.cpp +++ b/src/gausskernel/process/tcop/postgres.cpp @@ -5200,7 +5200,6 @@ static void exec_execute_message(const char* portal_name, long max_rows) if (dest == DestRemoteExecute) SetRemoteDestReceiverParams(receiver, portal); - resetErrorDataArea(true); /* * Ensure we are in a transaction command (this should normally be the * case already due to prior BIND). @@ -9418,6 +9417,7 @@ int PostgresMain(int argc, char* argv[], const char* dbname, const char* usernam u_sess->exec_cxt.RetryController->CacheStmtName(stmt_name); } + resetErrorDataArea(true); } break; case 'B': /* bind */ -- Gitee