diff options
author | Marko Kreen | 2013-11-05 22:37:56 +0000 |
---|---|---|
committer | Marko Kreen | 2013-11-05 22:37:56 +0000 |
commit | d70368314479b8610a512628e982665ea0d44260 (patch) | |
tree | f2760439c114735b198a0e818269bdc6e9642c3f | |
parent | 9aaf52a39acb111fe16f20da89a30abd015cc85d (diff) |
If the remote server cannot be connected and query is canceled,
don't show random warning about "Unfinished connection".
Patch by Fazal Majid
-rw-r--r-- | src/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execute.c b/src/execute.c index f0f1cc1..df7807d 100644 --- a/src/execute.c +++ b/src/execute.c @@ -831,7 +831,7 @@ remote_wait_for_cancel(ProxyFunction *func) if (!conn->run_tag) continue; - if (conn->cur->state != C_DONE) + if (conn->cur->state != C_DONE && conn->cur->state != C_NONE) plproxy_error(func, "Unfinished connection: %d", conn->cur->state); if (conn->res != NULL) { |