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.
This commit is contained in:
Andrew Dunstan 2008-05-18 06:50:08 +00:00
parent d4b9f44bf9
commit 07d08a8828

View File

@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.106 2008/05/17 23:34:44 momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.107 2008/05/18 06:50:08 adunstan Exp $
*/
#include "postgres_fe.h"
@ -918,13 +918,7 @@ print_aligned_text(const printTableContent *cont, FILE *fout)
fprintf(fout, "%s\n", f->data);
}
/*
* for some reason MinGW (and MSVC) outputs an extra newline, so this
* suppresses it
*/
#ifndef WIN32
fputc('\n', fout);
#endif
}
/* clean up */