forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitac46de5
committed
Smooth reporting of commit/rollback statistics.
If a connection committed or rolled back any transactions within aPGSTAT_STAT_INTERVAL pacing interval without accessing any tables,the reporting of those statistics would be held up until theconnection closed or until it ended a PGSTAT_STAT_INTERVAL intervalin which it had accessed a table. This could result in under-reporting of transactions for an extended period, followed by aspike in reported transactions.While this is arguably a bug, the impact is minimal, primarilyaffecting, and being affected by, monitoring software. It mightcause more confusion than benefit to change the existing behaviorin released stable branches, so apply only to master and the 9.4beta.Gurjeet Singh, with review and editing by Kevin Grittner,incorporating suggested changes from Abhijit Menon-Sen and TomLane.1 parenta61daa1 commitac46de5
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
753 | 753 |
| |
754 | 754 |
| |
755 | 755 |
| |
756 |
| - | |
| 756 | + | |
| 757 | + | |
757 | 758 |
| |
758 | 759 |
| |
759 | 760 |
| |
| |||
817 | 818 |
| |
818 | 819 |
| |
819 | 820 |
| |
820 |
| - | |
821 |
| - | |
| 821 | + | |
| 822 | + | |
822 | 823 |
| |
823 | 824 |
| |
824 |
| - | |
| 825 | + | |
825 | 826 |
| |
826 | 827 |
| |
827 | 828 |
| |
|
0 commit comments
Comments
(0)