- Notifications
You must be signed in to change notification settings - Fork5
Commit6591f42
committed
Improve readability of the output of psql's \timing command.
In addition to the existing decimal-milliseconds output value,display the same value in mm:ss.fff format if it exceeds one second.Tack on hours and even days fields if the interval is large enough.This avoids needing mental arithmetic to convert the values intocustomary time units.Corey Huinker, reviewed by Gerdan Santos; bikeshedding by manyDiscussion: <CADkLM=dbC4R8sbbuFXQVBFWoJGQkTEW8RWnC0PbW9nZsovZpJQ@mail.gmail.com>1 parent600dc4c commit6591f42
2 files changed
+59
-4
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2789 | 2789 |
| |
2790 | 2790 |
| |
2791 | 2791 |
| |
2792 |
| - | |
2793 |
| - | |
| 2792 | + | |
| 2793 | + | |
| 2794 | + | |
| 2795 | + | |
| 2796 | + | |
2794 | 2797 |
| |
2795 | 2798 |
| |
2796 | 2799 |
| |
|
Lines changed: 54 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| |||
531 | 532 |
| |
532 | 533 |
| |
533 | 534 |
| |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
534 | 586 |
| |
535 | 587 |
| |
536 | 588 |
| |
| |||
679 | 731 |
| |
680 | 732 |
| |
681 | 733 |
| |
682 |
| - | |
| 734 | + | |
683 | 735 |
| |
684 | 736 |
| |
685 | 737 |
| |
| |||
1332 | 1384 |
| |
1333 | 1385 |
| |
1334 | 1386 |
| |
1335 |
| - | |
| 1387 | + | |
1336 | 1388 |
| |
1337 | 1389 |
| |
1338 | 1390 |
| |
|
0 commit comments
Comments
(0)