postgresql/src/bin/psql
Stephen Frost 82962838d4 Handle border = 3 in expanded mode
In psql, expanded mode was not being displayed correctly when using
the normal ascii or unicode linestyles and border set to '3'.  Now,
per the documentation, border '3' is really only sensible for HTML
and LaTeX formats, however, that's no excuse for ascii/unicode to
break in that case, and provisions had been made for psql to cleanly
handle this case (and it did, in non-expanded mode).

This was broken when ascii/unicode was initially added a good five
years ago because print_aligned_vertical_line wasn't passed in the
border setting being used by print_aligned_vertical but instead was
given the whole printTableContent.  There really isn't a good reason
for vertical_line to have the entire printTableContent structure, so
just pass in the printTextFormat and border setting (similar to how
this is handled in horizontal_line).

Pointed out by Pavel Stehule, fix by me.

Back-patch to all currently-supported versions.
2014-09-12 11:11:53 -04:00
..
po Translation updates 2014-07-21 01:08:04 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
Makefile Fix client-only installation 2014-01-17 23:08:22 -05:00
command.c Add new psql help topics, accessible to both --help and \?. 2014-09-10 00:08:56 +02:00
command.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
common.c Allow \watch to display query execution time if \timing is enabled. 2014-09-04 12:31:48 +09:00
common.h Allow \watch to display query execution time if \timing is enabled. 2014-09-04 12:31:48 +09:00
copy.c Add psql PROMPT variable showing which line of a statement is being edited. 2014-09-02 13:06:11 +02:00
copy.h Allow psql to print COPY command status in more cases. 2014-03-13 13:49:03 -04:00
create_help.pl Update copyright for 2014 2014-01-07 16:05:30 -05:00
describe.c psql: Show tablespace size in \db+ 2014-07-14 18:04:52 -04:00
describe.h Add display of oprcode (the underlying function's name) to psql's \do+. 2014-01-16 15:29:33 -05:00
help.c Add new psql help topics, accessible to both --help and \?. 2014-09-10 00:08:56 +02:00
help.h Add new psql help topics, accessible to both --help and \?. 2014-09-10 00:08:56 +02:00
input.c Fix psql \s to work with recent libedit, and add pager support. 2014-09-08 16:09:45 -04:00
input.h Fix psql \s to work with recent libedit, and add pager support. 2014-09-08 16:09:45 -04:00
large_obj.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
large_obj.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
mainloop.c Add psql PROMPT variable showing which line of a statement is being edited. 2014-09-02 13:06:11 +02:00
mainloop.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
mbprint.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
mbprint.h Fix indentation of \d footers for non-ASCII cases. 2012-03-07 19:25:59 -05:00
nls.mk Add missing source files to nls.mk 2014-07-15 10:10:42 -04:00
print.c Handle border = 3 in expanded mode 2014-09-12 11:11:53 -04:00
print.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
prompt.c Add psql PROMPT variable showing which line of a statement is being edited. 2014-09-02 13:06:11 +02:00
prompt.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
psqlrc.sample Improve FILES section of psql reference page. 2014-01-14 19:27:57 -05:00
psqlscan.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
psqlscan.l Fix lexing of U& sequences just before EOF. 2014-02-03 19:47:57 -05:00
settings.h Add psql PROMPT variable showing which line of a statement is being edited. 2014-09-02 13:06:11 +02:00
startup.c Add new psql help topics, accessible to both --help and \?. 2014-09-10 00:08:56 +02:00
stringutils.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
stringutils.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
tab-complete.c Add new psql help topics, accessible to both --help and \?. 2014-09-10 00:08:56 +02:00
tab-complete.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
variables.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
variables.h Update copyright for 2014 2014-01-07 16:05:30 -05:00