Skip to content

Commit 39729ec

Browse files
committed
Fix fat fingering in 22cb6d2
Per Rainier Vilela
1 parent 928394b commit 39729ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_dump/pg_restore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,12 +902,12 @@ read_one_statement(StringInfo inBuf, FILE *pfile)
902902
break;
903903
}
904904

905-
destroyStringInfo(&q);
906-
907905
if (c == '\n')
908906
appendStringInfoChar(inBuf, (char) '\n');
909907
}
910908

909+
destroyStringInfo(&q);
910+
911911
/* No input before EOF signal means time to quit. */
912912
if (c == EOF && inBuf->len == 0)
913913
return EOF;

0 commit comments

Comments
 (0)