Commit 0343a59d authored by Peter Eisentraut's avatar Peter Eisentraut

psql: Improve unaligned expanded output for zero rows

This used to erroneously print an empty line.  Now it prints nothing.
parent 8ade58a4
......@@ -439,11 +439,14 @@ print_unaligned_vertical(const printTableContent *cont, FILE *fout)
}
/* see above in print_unaligned_text() */
if (need_recordsep)
{
if (cont->opt->recordSep.separator_zero)
print_separator(cont->opt->recordSep, fout);
else
fputc('\n', fout);
}
}
}
......
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