From 27119169e43f9dd2d6a7c824289caa58604f2baf Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Tue, 24 Feb 2026 18:33:52 +0500 Subject: [PATCH] Reset extended query frame if an unsupported message type is received --- lib/PgSQL_Session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PgSQL_Session.cpp b/lib/PgSQL_Session.cpp index 3cbdcc085..80bc97735 100644 --- a/lib/PgSQL_Session.cpp +++ b/lib/PgSQL_Session.cpp @@ -2277,6 +2277,7 @@ __implicit_sync: pkt = { 0, nullptr }; break; default: + reset_extended_query_frame(); proxy_error("Not implemented yet. Message type:'%c'\n", c); client_myds->setDSS_STATE_QUERY_SENT_NET(); client_myds->myprot.generate_error_packet(true, true, "Feature not supported", PGSQL_ERROR_CODES::ERRCODE_FEATURE_NOT_SUPPORTED,