Commit e6a0e4ed authored by Bruce Momjian's avatar Bruce Momjian

Fix EOF/control-D display in psql.

parent dc16399d
......@@ -136,7 +136,9 @@ MainLoop(PsqlSettings *pset, FILE *source)
if (line == NULL || (!pset->cur_cmd_interactive && *line == '\0'))
{
if (GetVariableBool(pset->vars, "echo") && !GetVariableBool(pset->vars, "quiet"))
puts("EOF");
puts("EOF\n");
else
puts(""); /* put out newline */
eof = true;
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment