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

From Roger Leigh
Subject [PATCH 7/7] psql: Don't print leading - with expanded=1 and border=0
Date
Msg-id 1250957463-18942-2-git-send-email-rleigh@debian.org
Whole thread Raw
In response to Unicode UTF-8 table formatting for psql text output  (Roger Leigh <rleigh@debian.org>)
List 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



pgsql-hackers by date:

Previous
From: Roger Leigh
Date:
Subject: [PATCH 5/6] psql: print_aligned_text uses table formatting
Next
From: Roger Leigh
Date:
Subject: Unicode UTF-8 table formatting for psql text output