forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2287b87
committed
Further adjustment to psql's print_aligned_vertical() function.
We should ignore output_columns unless it's greater than zero.A zero means we couldn't get any information from ioctl(TIOCGWINSZ);in that case the expected behavior is to print the data at native width,not to wrap it at the smallest possible value. print_aligned_text()gets this consideration right, but print_aligned_vertical() lost trackof this detail somewhere along the line.1 parente50cda7 commit2287b87
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1424 | 1424 |
| |
1425 | 1425 |
| |
1426 | 1426 |
| |
1427 |
| - | |
| 1427 | + | |
| 1428 | + | |
1428 | 1429 |
| |
1429 | 1430 |
| |
1430 | 1431 |
| |
|
0 commit comments
Comments
(0)