mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
@ -902,12 +902,12 @@ read_one_statement(StringInfo inBuf, FILE *pfile)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
destroyStringInfo(&q);
|
|
||||||
|
|
||||||
if (c == '\n')
|
if (c == '\n')
|
||||||
appendStringInfoChar(inBuf, (char) '\n');
|
appendStringInfoChar(inBuf, (char) '\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
destroyStringInfo(&q);
|
||||||
|
|
||||||
/* No input before EOF signal means time to quit. */
|
/* No input before EOF signal means time to quit. */
|
||||||
if (c == EOF && inBuf->len == 0)
|
if (c == EOF && inBuf->len == 0)
|
||||||
return EOF;
|
return EOF;
|
||||||
|
Reference in New Issue
Block a user