forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8363102
committed
pgstat: introduce pgstat_relation_should_count().
A later commit will make the check more complicated than thecurrent (rel)->pgstat_info != NULL. It also just seems nicer to have a centralcopy of the logic, even while still simple.Author: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de1 parent2d655a0 commit8363102
3 files changed
+28
-27
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1743 | 1743 |
| |
1744 | 1744 |
| |
1745 | 1745 |
| |
1746 |
| - | |
| 1746 | + | |
1747 | 1747 |
| |
1748 | 1748 |
| |
1749 | 1749 |
| |
|
Lines changed: 17 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1709 | 1709 |
| |
1710 | 1710 |
| |
1711 | 1711 |
| |
1712 |
| - | |
| 1712 | + | |
1713 | 1713 |
| |
1714 | 1714 |
| |
1715 | 1715 |
| |
| |||
2359 | 2359 |
| |
2360 | 2360 |
| |
2361 | 2361 |
| |
2362 |
| - | |
2363 |
| - | |
2364 |
| - | |
| 2362 | + | |
2365 | 2363 |
| |
2366 |
| - | |
| 2364 | + | |
2367 | 2365 |
| |
2368 | 2366 |
| |
| 2367 | + | |
2369 | 2368 |
| |
2370 | 2369 |
| |
2371 | 2370 |
| |
| |||
2380 | 2379 |
| |
2381 | 2380 |
| |
2382 | 2381 |
| |
2383 |
| - | |
2384 |
| - | |
2385 |
| - | |
| 2382 | + | |
2386 | 2383 |
| |
2387 |
| - | |
| 2384 | + | |
2388 | 2385 |
| |
2389 | 2386 |
| |
| 2387 | + | |
2390 | 2388 |
| |
2391 | 2389 |
| |
2392 | 2390 |
| |
| |||
2405 | 2403 |
| |
2406 | 2404 |
| |
2407 | 2405 |
| |
2408 |
| - | |
2409 |
| - | |
2410 |
| - | |
| 2406 | + | |
2411 | 2407 |
| |
2412 |
| - | |
| 2408 | + | |
2413 | 2409 |
| |
2414 | 2410 |
| |
| 2411 | + | |
2415 | 2412 |
| |
2416 | 2413 |
| |
2417 | 2414 |
| |
| |||
2463 | 2460 |
| |
2464 | 2461 |
| |
2465 | 2462 |
| |
2466 |
| - | |
2467 |
| - | |
2468 |
| - | |
| 2463 | + | |
2469 | 2464 |
| |
2470 |
| - | |
| 2465 | + | |
2471 | 2466 |
| |
2472 | 2467 |
| |
| 2468 | + | |
2473 | 2469 |
| |
2474 | 2470 |
| |
2475 | 2471 |
| |
| |||
2492 | 2488 |
| |
2493 | 2489 |
| |
2494 | 2490 |
| |
2495 |
| - | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
2496 | 2494 |
| |
2497 |
| - | |
2498 | 2495 |
| |
| 2496 | + | |
2499 | 2497 |
| |
2500 | 2498 |
| |
2501 | 2499 |
| |
|
Lines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1104 | 1104 |
| |
1105 | 1105 |
| |
1106 | 1106 |
| |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
1107 | 1110 |
| |
1108 | 1111 |
| |
1109 | 1112 |
| |
1110 | 1113 |
| |
1111 |
| - | |
| 1114 | + | |
1112 | 1115 |
| |
1113 | 1116 |
| |
1114 | 1117 |
| |
1115 | 1118 |
| |
1116 |
| - | |
| 1119 | + | |
1117 | 1120 |
| |
1118 | 1121 |
| |
1119 | 1122 |
| |
1120 | 1123 |
| |
1121 |
| - | |
| 1124 | + | |
1122 | 1125 |
| |
1123 | 1126 |
| |
1124 | 1127 |
| |
1125 | 1128 |
| |
1126 |
| - | |
| 1129 | + | |
1127 | 1130 |
| |
1128 | 1131 |
| |
1129 | 1132 |
| |
1130 | 1133 |
| |
1131 |
| - | |
| 1134 | + | |
1132 | 1135 |
| |
1133 | 1136 |
| |
1134 | 1137 |
| |
1135 | 1138 |
| |
1136 |
| - | |
| 1139 | + | |
1137 | 1140 |
| |
1138 | 1141 |
| |
1139 | 1142 |
| |
1140 | 1143 |
| |
1141 |
| - | |
| 1144 | + | |
1142 | 1145 |
| |
1143 | 1146 |
| |
1144 | 1147 |
| |
|
0 commit comments
Comments
(0)