Skip to content

Commit b79f268

Browse files
ylhzhaoJennyJennyChen
authored andcommitted
reset sock_fatal_occurred to false in pgxc_node_init
1 parent cf701b1 commit b79f268

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/pgxc/pool/pgxcnode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ pgxc_node_init(PGXCNodeHandle *handle, int sock, bool global_session, int pid)
651651
handle->plpgsql_need_begin_sub_txn = false;
652652
handle->plpgsql_need_begin_txn = false;
653653
handle->sendGxidVersion = 0;
654+
handle->sock_fatal_occurred = false;
654655
#endif
655656
/*
656657
* We got a new connection, set on the remote node the session parameters

0 commit comments

Comments
 (0)