Skip to content

Commit 07d08a8

Browse files
committed
Remove old kluge put in to allow Windows regression tests to succeed, and now
found to have been made necessary by our skipping tty detection on Windows. Now that we are doing tty detection on Windows the kluge is unnecessary and wrong.
1 parent d4b9f44 commit 07d08a8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/bin/psql/print.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.106 2008/05/17 23:34:44 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.107 2008/05/18 06:50:08 adunstan Exp $
77
*/
88
#include "postgres_fe.h"
99

@@ -918,13 +918,7 @@ print_aligned_text(const printTableContent *cont, FILE *fout)
918918
fprintf(fout, "%s\n", f->data);
919919
}
920920

921-
/*
922-
* for some reason MinGW (and MSVC) outputs an extra newline, so this
923-
* suppresses it
924-
*/
925-
#ifndef WIN32
926921
fputc('\n', fout);
927-
#endif
928922
}
929923

930924
/* clean up */

0 commit comments

Comments
 (0)