[PATCH 7/7] psql: Don't print leading - with expanded=1 and border=0

Roger Leigh <rleigh@debian.org>

From: Roger Leigh <rleigh@debian.org>
To: pgsql-hackers@postgresql.org
Cc: Roger Leigh <rleigh@debian.org>
Date: 2009-08-22T16:11:03Z
Lists: pgsql-hackers
Signed-off-by: Roger Leigh <rleigh@debian.org>
---
 src/bin/psql/print.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c
index e4e9f01..be81adc 100644
--- a/src/bin/psql/print.c
+++ b/src/bin/psql/print.c
@@ -1014,7 +1014,7 @@ print_aligned_vertical_line(const printTableContent *cont,
 		fputs(lformat->leftvrule, fout);
 		fputs(format->hrule, fout);
 	}
-	else
+	else if (opt_border == 1)
 		fputs(format->hrule, fout);
 
 	if (record)
-- 
1.6.3.3