Re: Track skipped tables during autovacuum and autoanalyze

Sami Imseih <samimseih@gmail.com>

From: Sami Imseih <samimseih@gmail.com>
To: Zsolt Parragi <zsolt.parragi@percona.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2026-05-16T14:29:29Z
Lists: pgsql-hackers

Attachments

> +       INJECTION_POINT("expand-vacuum-rel-skip-locked", NULL);

> Nitpick, but now that the injection point lives inside
> pgstat_report_skipped_vacuum_analyze, it should be named accordingly.

right. I renamed it to skipped-vacuum-analyze-before-entry-lock

> Nitpick, but now that the injection point lives inside
> pgstat_report_skipped_vacuum_analyze, it should be named accordingly.
>
> +        * This mirrors the approach used in pgstat_init_function_usage() for
> +        * functions.

Fair. I just removed this comment. On re-reading, it really did not
add more value.

Attached v9.

Thanks!

--
Sami