You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by zt...@apache.org on 2021/11/03 06:28:13 UTC
[hawq] branch master updated: HAWQ-1812. fix bug of proxy
dispatcher decode bytes as string
This is an automated email from the ASF dual-hosted git repository.
ztao1987 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hawq.git
The following commit(s) were added to refs/heads/master by this push:
new 39f96c0 HAWQ-1812. fix bug of proxy dispatcher decode bytes as string
39f96c0 is described below
commit 39f96c033d8dfddb15c87d7a4cfdaf206fdb8557
Author: ztao1987 <zh...@gmail.com>
AuthorDate: Wed Nov 3 14:10:35 2021 +0800
HAWQ-1812. fix bug of proxy dispatcher decode bytes as string
---
src/backend/tcop/postgres.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 10dc89c..085ab08 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -5521,7 +5521,7 @@ PostgresMain(int argc, char *argv[], const char *username)
case 'J':
{
- proxyDispatchRun(dispatchData, pq_getmsgstring(&input_message));
+ proxyDispatchRun(dispatchData, pq_getmsgbytes(&input_message, 0));
proxyDispatchWait(dispatchData);
proxyDispatchCleanUp(&dispatchData);
send_ready_for_query = true;