projects
/
plproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aaf52a
)
remote_wait_for_cancel: avoid unnecessary warning
master
author
Marko Kreen
<
[email protected]
>
Tue, 5 Nov 2013 22:37:56 +0000
(
00:37
+0200)
committer
Marko Kreen
<
[email protected]
>
Tue, 5 Nov 2013 22:37:56 +0000
(
00:37
+0200)
If the remote server cannot be connected and query is canceled,
don't show random warning about "Unfinished connection".
Patch by Fazal Majid
src/execute.c
patch
|
blob
|
blame
|
history
diff --git
a/src/execute.c
b/src/execute.c
index f0f1cc1db5861138fcc20dc2b127498f3616490a..df7807deff6afb20e4e4499b941102e2bd179c5f 100644
(file)
--- 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)
{