forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8296283
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 parentacd08d7 commit8296283
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1085 | 1085 |
| |
1086 | 1086 |
| |
1087 | 1087 |
| |
1088 |
| - | |
| 1088 | + | |
| 1089 | + | |
1089 | 1090 |
| |
1090 | 1091 |
| |
1091 | 1092 |
| |
1092 | 1093 |
| |
1093 | 1094 |
| |
1094 | 1095 |
| |
1095 |
| - | |
1096 | 1096 |
| |
1097 |
| - | |
1098 | 1097 |
| |
1099 | 1098 |
| |
1100 | 1099 |
| |
| |||
1373 | 1372 |
| |
1374 | 1373 |
| |
1375 | 1374 |
| |
1376 |
| - | |
1377 |
| - | |
| 1375 | + | |
| 1376 | + | |
1378 | 1377 |
| |
1379 |
| - | |
1380 |
| - | |
| 1378 | + | |
| 1379 | + | |
1381 | 1380 |
| |
1382 | 1381 |
| |
1383 | 1382 |
| |
| |||
1562 | 1561 |
| |
1563 | 1562 |
| |
1564 | 1563 |
| |
1565 |
| - | |
| 1564 | + | |
1566 | 1565 |
| |
1567 | 1566 |
| |
1568 | 1567 |
| |
|
0 commit comments
Comments
(0)