- Notifications
You must be signed in to change notification settings - Fork5
Commited2d7b8
committed
Fix inappropriate printing of never-measured times in EXPLAIN.
EXPLAIN (ANALYZE, TIMING OFF) would print an elapsed time of zero fora trigger function, because no measurement has been taken but it printedthe field anyway. This isn't what EXPLAIN does elsewhere, so suppress it.In the same vein, EXPLAIN (ANALYZE, BUFFERS) with non-text output formatwould print buffer I/O timing numbers even when no measurement has beentaken because track_io_timing is off. That seems not per policy, either,so change it.Back-patch to 9.2 where these features were introduced.Maksim MilyutinDiscussion: <081c0540-ecaa-bd29-3fd2-6358f3b359a9@postgrespro.ru>1 parent4fc8e23 commited2d7b8
1 file changed
+13
-5
lines changedLines changed: 13 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| |||
684 | 685 |
| |
685 | 686 |
| |
686 | 687 |
| |
687 |
| - | |
688 |
| - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
689 | 693 |
| |
690 | 694 |
| |
691 | 695 |
| |
692 | 696 |
| |
693 | 697 |
| |
694 | 698 |
| |
695 | 699 |
| |
696 |
| - | |
| 700 | + | |
| 701 | + | |
697 | 702 |
| |
698 | 703 |
| |
699 | 704 |
| |
| |||
1600 | 1605 |
| |
1601 | 1606 |
| |
1602 | 1607 |
| |
1603 |
| - | |
1604 |
| - | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1605 | 1613 |
| |
1606 | 1614 |
| |
1607 | 1615 |
| |
|
0 commit comments
Comments
(0)