Skip to content

Commit a275127

Browse files
committed
changes from feedback
1 parent fd7cb52 commit a275127

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/pdo_pgsql/pgsql_driver.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,9 @@ void pgsqlCopyFromArray_internal(INTERNAL_FUNCTION_PARAMETERS)
717717

718718
if (iter->funcs->rewind) {
719719
iter->funcs->rewind(iter);
720+
if (EG(exception)) {
721+
RETURN_THROWS();
722+
}
720723
}
721724

722725
for (; iter->funcs->valid(iter) == SUCCESS && EG(exception) == NULL; iter->funcs->move_forward(iter)) {

0 commit comments

Comments
 (0)