Signed-off-by: Roger Leigh <rle...@debian.org> --- src/bin/psql/print.c | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 7505cd4..9dec77d 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -356,6 +356,30 @@ print_unaligned_vertical(const printTableContent *cont, FILE *fout) /* Aligned text */ /********************/ +static const printTextFormat asciiformat = +{ + { + { "+", "+", "+" }, + { "+", "+", "+" }, + { "+", "+", "+" } + }, + "-", + "|" +}; + +static const struct printTextFormat utf8format = +{ + { + /* â, â¬, â */ + { "\342\224\214", "\342\224\254", "\342\224\220" }, + /* â, â¼, ⤠*/ + { "\342\224\234", "\342\224\274", "\342\224\244" }, + /* â, â´, â */ + { "\342\224\224", "\342\224\264", "\342\224\230" } + }, + "\342\224\200", /* â */ + "\342\224\202" /* â */ +}; /* draw "line" */ static void -- 1.6.3.3 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers