We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9bf704 commit 8f2b407Copy full SHA for 8f2b407
repeater.c
@@ -109,21 +109,18 @@ pgfdw_cancel_query(PGconn *conn)
109
{
110
if (!PQcancel(cancel, errbuf, sizeof(errbuf)))
111
112
- printf("LAV: Cancel - ERROR\n");
113
ereport(WARNING,
114
(errcode(ERRCODE_CONNECTION_FAILURE),
115
errmsg("could not send cancel request: %s",
116
errbuf)));
117
PQfreeCancel(cancel);
118
return false;
119
}
120
- else
121
- printf("LAV: Cancel - OK\n");
122
123
124
125
else
126
- printf("---ERROR---");
+ elog(FATAL, "Can't get connection cancel descriptor");
127
128
PQconsumeInput(conn);
129
PQclear(result);
0 commit comments