From: Pavan Deolasee Date: Wed, 9 Dec 2015 10:26:09 +0000 (+0530) Subject: Forget connection combiner before receving pending messages during cleanup X-Git-Tag: XL9_5_R1BETA1~128 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=886f856f03b12da184b6e49c5ec40df4728fb6a1;p=postgres-xl.git Forget connection combiner before receving pending messages during cleanup --- diff --git a/src/backend/pgxc/pool/execRemote.c b/src/backend/pgxc/pool/execRemote.c index 3075aebe1a..a3014f8578 100644 --- a/src/backend/pgxc/pool/execRemote.c +++ b/src/backend/pgxc/pool/execRemote.c @@ -1924,6 +1924,7 @@ pgxc_node_remote_cleanup_all(void) continue; } new_connections[new_conn_count++] = handle; + handle->combiner = NULL; } for (i = 0; i < handles->dn_conn_count; i++) { @@ -1949,6 +1950,7 @@ pgxc_node_remote_cleanup_all(void) continue; } new_connections[new_conn_count++] = handle; + handle->combiner = NULL; } if (new_conn_count)