forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4d96e93
committed
Handle border = 3 in expanded mode
In psql, expanded mode was not being displayed correctly when usingthe normal ascii or unicode linestyles and border set to '3'. Now,per the documentation, border '3' is really only sensible for HTMLand LaTeX formats, however, that's no excuse for ascii/unicode tobreak in that case, and provisions had been made for psql to cleanlyhandle this case (and it did, in non-expanded mode).This was broken when ascii/unicode was initially added a good fiveyears ago because print_aligned_vertical_line wasn't passed in theborder setting being used by print_aligned_vertical but instead wasgiven the whole printTableContent. There really isn't a good reasonfor vertical_line to have the entire printTableContent structure, sojust pass in the printTextFormat and border setting (similar to howthis is handled in horizontal_line).Pointed out by Pavel Stehule, fix by me.Back-patch to all currently-supported versions.1 parentcf5c20b commit4d96e93
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1050 | 1050 |
| |
1051 | 1051 |
| |
1052 | 1052 |
| |
1053 |
| - | |
| 1053 | + | |
| 1054 | + | |
1054 | 1055 |
| |
1055 | 1056 |
| |
1056 | 1057 |
| |
1057 | 1058 |
| |
1058 | 1059 |
| |
1059 | 1060 |
| |
1060 |
| - | |
1061 | 1061 |
| |
1062 |
| - | |
1063 | 1062 |
| |
1064 | 1063 |
| |
1065 | 1064 |
| |
| |||
1211 | 1210 |
| |
1212 | 1211 |
| |
1213 | 1212 |
| |
1214 |
| - | |
1215 |
| - | |
| 1213 | + | |
| 1214 | + | |
1216 | 1215 |
| |
1217 |
| - | |
1218 |
| - | |
| 1216 | + | |
| 1217 | + | |
1219 | 1218 |
| |
1220 | 1219 |
| |
1221 | 1220 |
| |
| |||
1274 | 1273 |
| |
1275 | 1274 |
| |
1276 | 1275 |
| |
1277 |
| - | |
| 1276 | + | |
1278 | 1277 |
| |
1279 | 1278 |
| |
1280 | 1279 |
| |
|
0 commit comments
Comments
(0)