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

From: Roger Leigh <rleigh(at)debian(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Roger Leigh <rleigh(at)debian(dot)org>
Subject: [PATCH 7/7] psql: Don't print leading - with expanded=1 and border=0
Date: 2009-08-22 16:11:03
Message-ID: 1250957463-18942-2-git-send-email-rleigh@debian.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Signed-off-by: Roger Leigh <rleigh(at)debian(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Roger Leigh 2009-08-22 16:38:16 Submitted patches stuck in moderation queue
Previous Message Roger Leigh 2009-08-22 16:11:02 Unicode UTF-8 table formatting for psql text output