Skip to content

Commit 8f2b407

Browse files
committed
Remove some debug printing
1 parent f9bf704 commit 8f2b407

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

repeater.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,21 +109,18 @@ pgfdw_cancel_query(PGconn *conn)
109109
{
110110
if (!PQcancel(cancel, errbuf, sizeof(errbuf)))
111111
{
112-
printf("LAV: Cancel - ERROR\n");
113112
ereport(WARNING,
114113
(errcode(ERRCODE_CONNECTION_FAILURE),
115114
errmsg("could not send cancel request: %s",
116115
errbuf)));
117116
PQfreeCancel(cancel);
118117
return false;
119118
}
120-
else
121-
printf("LAV: Cancel - OK\n");
122119

123120
PQfreeCancel(cancel);
124121
}
125122
else
126-
printf("---ERROR---");
123+
elog(FATAL, "Can't get connection cancel descriptor");
127124

128125
PQconsumeInput(conn);
129126
PQclear(result);

0 commit comments

Comments
 (0)