postgresql/src/bin/psql
Stephen Frost 1597e6c212 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:24:09 -04:00
..
po Translation updates 2014-07-21 01:07:36 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
command.c Fix psql \s to work with recent libedit, and add pager support. 2014-09-08 16:09:49 -04:00
command.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
common.c Prevent psql from issuing BEGIN before ALTER SYSTEM when AUTOCOMMIT is off. 2014-07-02 12:43:09 +09:00
common.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
copy.c Assorted message improvements 2014-08-29 00:01:34 -04: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 pgindent run for 9.4 2014-05-06 12:12:18 -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 psql: update --help output for unaligned mode params 2014-04-16 18:13:45 -04:00
help.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
input.c Fix psql \s to work with recent libedit, and add pager support. 2014-09-08 16:09:49 -04:00
input.h Fix psql \s to work with recent libedit, and add pager support. 2014-09-08 16:09:49 -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 pgindent run for 9.4 2014-05-06 12:12:18 -04:00
mainloop.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
Makefile Fix client-only installation 2014-01-17 23:08:22 -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:58 -04:00
print.c Handle border = 3 in expanded mode 2014-09-12 11:24:09 -04:00
print.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
prompt.c Update copyright for 2014 2014-01-07 16:05:30 -05: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 pgindent run for 9.4 2014-05-06 12:12:18 -04:00
startup.c Fix tracking of psql script line numbers during \copy from another place. 2014-03-10 15:47:40 -04: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 Support ALTER SYSTEM RESET command. 2014-09-12 23:15:04 +09: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