- Notifications
You must be signed in to change notification settings - Fork5.1k
Commitc173aaf
committed
Add test for pg_stat_reset_single_table_counters() on index
stats.sql is already doing some tests coverage on index statistics, byretrieving for example idx_scan and friends in pg_stat_all_tables.pg_stat_reset_single_table_counters() is supported for an index for along time, but the case was never covered.This commit closes the gap, by using this reset function on an index,cross-checking the contents of pg_stat_all_indexes.Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>Discussion:https://postgr.es/m/aN8l182jKxEq1h9f@paquier.xyz1 parent0c7f103 commitc173aaf
2 files changed
+30
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
850 | 850 |
| |
851 | 851 |
| |
852 | 852 |
| |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
853 | 874 |
| |
854 | 875 |
| |
855 | 876 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
382 | 382 |
| |
383 | 383 |
| |
384 | 384 |
| |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
385 | 394 |
| |
386 | 395 |
| |
387 | 396 |
| |
|
0 commit comments
Comments
(0)