forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite187b21
Force testing of query jumbling in 027_stream_regress.pl
Coverage of the query jumbling code has always relied on the queriesincluded in the regression tests of pg_stat_statements. This has itslimitations, as a lot of query patterns have never really stressed thequery jumbling code. The situation got a bit worse since the queryjumbling has been added in the backend core code (5fd9dfa), hence newnodes that should be included in the jumbling could easily be missed,resulting in failures in pg_stat_statements or any modules that requirequery ID computations. Forcing a load of pg_stat_statements in027_stream_regress.pl ensures that nodes are never missed in thecomputations, without having to rely on a buildfarm member for thischeck.Before this commit, the line coverage of queryjumblefuncs.funcs.c wasaround 48.5%, now up to 94.6% just by running 027_stream_regress.pl.A basic check is added to show that pg_stat_statements reports aregenerated after the main regression test suite is finished.Discussion:https://postgr.es/m/Y+nD9LN70w+8eaG9@paquier.xyz1 parenteeccc44 commite187b21
3 files changed
+36
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
|
Lines changed: 33 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
17 | 28 |
| |
18 | 29 |
| |
19 | 30 |
| |
| |||
106 | 117 |
| |
107 | 118 |
| |
108 | 119 |
| |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
109 | 142 |
| |
110 | 143 |
| |
111 | 144 |
| |
|
0 commit comments
Comments
(0)