Commit 626e6ed
committed
Improve behavior of \watch with non-tuple-returning commands.
Print the command tag if we get PGRES_COMMAND_OK, and throw an error for
other cases. Per gripe from Michael Paquier.
In passing, add an fflush(), just to be real sure the output appears
before we sleep.1 parent 083d8fa commit 626e6ed
1 file changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2648 | 2648 | | |
2649 | 2649 | | |
2650 | 2650 | | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
2651 | 2655 | | |
2652 | 2656 | | |
2653 | 2657 | | |
2654 | 2658 | | |
2655 | 2659 | | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
2656 | 2667 | | |
2657 | | - | |
2658 | | - | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
2659 | 2672 | | |
2660 | 2673 | | |
2661 | 2674 | | |
2662 | 2675 | | |
| 2676 | + | |
| 2677 | + | |
2663 | 2678 | | |
2664 | 2679 | | |
2665 | 2680 | | |
| |||
0 commit comments