forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5b0d7f6
committed
Use pg_stat_get_xact* functions within xacts
Resolve build farm failures fromc203d6c,diagnosed by Tom Lane.The output of pg_stat_get_xact_tuples_hot_updated() and friendsis not guaranteed to show anything after the transaction completes.Data is flushed slowly to stats collector, so using them cangive timing issues.1 parentf4f5845 commit5b0d7f6
2 files changed
+12
-6
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
| |||
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
11 |
| - | |
| 12 | + | |
| 13 | + | |
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
| |||
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
36 |
| - | |
| 38 | + | |
| 39 | + | |
37 | 40 |
| |
38 | 41 |
| |
39 | 42 |
| |
| |||
58 | 61 |
| |
59 | 62 |
| |
60 | 63 |
| |
61 |
| - | |
| 64 | + |
Lines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
6 |
| - | |
| 7 | + | |
7 | 8 |
| |
| 9 | + | |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
| |||
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
17 |
| - | |
| 19 | + | |
18 | 20 |
| |
| 21 | + | |
19 | 22 |
| |
20 | 23 |
| |
21 | 24 |
| |
| |||
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
28 |
| - | |
| 31 | + | |
29 | 32 |
| |
30 | 33 |
|
0 commit comments
Comments
(0)