If the remote server cannot be connected and query is canceled,
don't show random warning about "Unfinished connection".
Patch by Fazal Majid
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)
{