forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5ee5ee5
Improve the regression tests of VACUUM (PROCESS_TOAST)
All the regression tests of VACUUM (PROCESS_TOAST) were only checking ifthe commands were able to run, without checking if VACUUM was reallyrunning on what it should. This expands this set of tests so as we nowlook at pg_stat_all_tables.vacuum_count to see how many vacuums havebeen run on a given table and its toast relation.Extracted from a larger patch by the same author, as this is useful onits own.Special thanks to Álvaro Herrera for the idea of usingpg_stat_all_tables to check the state of the toast relation.Author: Nathan BossartReviewed-by: Masahiko SawadaDiscussion:https://postgr.es/m/20221230000028.GA435655@nathanxps131 parenteea0fc0 commit5ee5ee5
2 files changed
+52
-8
lines changedLines changed: 32 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
284 | 310 |
| |
285 | 311 |
| |
286 | 312 |
| |
287 | 313 |
| |
288 | 314 |
| |
289 | 315 |
| |
290 | 316 |
| |
| 317 | + | |
| 318 | + | |
291 | 319 |
| |
292 | 320 |
| |
293 | 321 |
| |
|
Lines changed: 20 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
232 | 232 |
| |
233 | 233 |
| |
234 | 234 |
| |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
239 | 253 |
| |
240 | 254 |
| |
241 | 255 |
| |
| |||
244 | 258 |
| |
245 | 259 |
| |
246 | 260 |
| |
| 261 | + | |
| 262 | + | |
247 | 263 |
| |
248 | 264 |
| |
249 | 265 |
| |
|
0 commit comments
Comments
(0)