Skip to content

Commit

Permalink
Fixed a hangup when processing the COPY command in asynchronous mode.
Browse files Browse the repository at this point in the history
Fix problem bucardo#98
  • Loading branch information
unknown authored and unknown committed Sep 29, 2022
1 parent 8366f25 commit ba2327e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dbdimp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5318,6 +5318,9 @@ long pg_db_result (SV *h, imp_dbh_t *imp_dbh)
TRACE_PQCLEAR;
PQclear(result);
}
if ( rows == -1 ) {
break;
}
}

if (NULL != imp_dbh->async_sth) {
Expand Down

0 comments on commit ba2327e

Please sign in to comment.