Fix EOF/control-D display in psql.
This commit is contained in:
parent
dc16399d8d
commit
e6a0e4ed61
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user