forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3c66264
committed
Allow pgbench to exit immediately when any client is aborted.
Previously when client was aborted due to some error duringbenchmarking, other clients continued their run until certain numberof transactions specified -t was reached or the time specified by -Twas expired. At the end, the results are printed with caution: "Runwas aborted; the above results are incomplete" shows.New option "--exit-on-abort" allows pgbench to exit immediately inthis case so that users could quickly fix the cause of the failure andtry again another round of benchmarking.Author: Yugo NagataReviewed-by: Fabien COELHO, Tatsuo IshiiDiscussion:https://postgr.es/m/flat/20230804130325.df32e60879c38c92bca64207%40sraoss.co.jp1 parent8bf7db0 commit3c66264
File tree
3 files changed
+83
-4
lines changed- doc/src/sgml/ref
- src/bin/pgbench
- t
3 files changed
+83
-4
lines changedLines changed: 25 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
768 | 768 |
| |
769 | 769 |
| |
770 | 770 |
| |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
771 | 789 |
| |
772 | 790 |
| |
773 | 791 |
| |
| |||
985 | 1003 |
| |
986 | 1004 |
| |
987 | 1005 |
| |
988 |
| - | |
| 1006 | + | |
| 1007 | + | |
989 | 1008 |
| |
990 | 1009 |
| |
991 | 1010 |
| |
| |||
2801 | 2820 |
| |
2802 | 2821 |
| |
2803 | 2822 |
| |
| 2823 | + | |
| 2824 | + | |
2804 | 2825 |
| |
2805 | 2826 |
| |
2806 | 2827 |
| |
2807 | 2828 |
| |
2808 | 2829 |
| |
2809 | 2830 |
| |
2810 |
| - | |
2811 |
| - | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
2812 | 2834 |
| |
2813 | 2835 |
| |
2814 | 2836 |
| |
|
Lines changed: 32 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
765 | 765 |
| |
766 | 766 |
| |
767 | 767 |
| |
| 768 | + | |
| 769 | + | |
768 | 770 |
| |
769 | 771 |
| |
770 | 772 |
| |
| |||
911 | 913 |
| |
912 | 914 |
| |
913 | 915 |
| |
| 916 | + | |
914 | 917 |
| |
915 | 918 |
| |
916 | 919 |
| |
| |||
6617 | 6620 |
| |
6618 | 6621 |
| |
6619 | 6622 |
| |
| 6623 | + | |
6620 | 6624 |
| |
6621 | 6625 |
| |
6622 | 6626 |
| |
| |||
6950 | 6954 |
| |
6951 | 6955 |
| |
6952 | 6956 |
| |
| 6957 | + | |
| 6958 | + | |
| 6959 | + | |
| 6960 | + | |
6953 | 6961 |
| |
6954 | 6962 |
| |
6955 | 6963 |
| |
| |||
7558 | 7566 |
| |
7559 | 7567 |
| |
7560 | 7568 |
| |
| 7569 | + | |
| 7570 | + | |
| 7571 | + | |
| 7572 | + | |
| 7573 | + | |
| 7574 | + | |
7561 | 7575 |
| |
7562 | 7576 |
| |
7563 | 7577 |
| |
7564 | 7578 |
| |
7565 |
| - | |
| 7579 | + | |
| 7580 | + | |
7566 | 7581 |
| |
7567 | 7582 |
| |
7568 | 7583 |
| |
| |||
7595 | 7610 |
| |
7596 | 7611 |
| |
7597 | 7612 |
| |
| 7613 | + | |
| 7614 | + | |
| 7615 | + | |
| 7616 | + | |
| 7617 | + | |
| 7618 | + | |
| 7619 | + | |
| 7620 | + | |
| 7621 | + | |
| 7622 | + | |
| 7623 | + | |
| 7624 | + | |
| 7625 | + | |
| 7626 | + | |
| 7627 | + | |
| 7628 | + | |
7598 | 7629 |
| |
7599 | 7630 |
| |
7600 | 7631 |
| |
|
Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1475 | 1475 |
| |
1476 | 1476 |
| |
1477 | 1477 |
| |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
1478 | 1504 |
| |
1479 | 1505 |
| |
1480 | 1506 |
| |
|
0 commit comments
Comments
(0)