Skip to content

Commit ab646b7

Browse files
committed
fix(c): drop spurious loop break in pipeline_communicate
This makes the Python and the C implementation more similar. The difference was unexpected but apparently harmless. See #431
1 parent bebfe97 commit ab646b7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎psycopg_c/psycopg_c/_psycopg/generators.pyx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ def pipeline_communicate(
240240
r = pq.PGresult._from_ptr(pgres)
241241
if status == libpq.PGRES_PIPELINE_SYNC:
242242
results.append([r])
243-
break
244243
elif (
245244
status == libpq.PGRES_COPY_IN
246245
or status == libpq.PGRES_COPY_OUT

0 commit comments

Comments
 (0)