Thread: pgsql: Add assertion in expand_vacuum_rel() for non-autovacuum path

pgsql: Add assertion in expand_vacuum_rel() for non-autovacuum path

From
Michael Paquier
Date:
Add assertion in expand_vacuum_rel() for non-autovacuum path

The code path where the assertion is added helps to check that
autovacuum always includes a relation OID when doing a vacuum on it.
Extracted from a larger patch set to add support for SKIP LOCKED with
manual VACUUM commands.

Author: Nathan Bossart
Discussion: https://postgr.es/m/9EF7EBE4-720D-4CF1-9D0E-4403D7E92990@amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6551f3daa2567ea9b2ded9b467aa9d876cc4e77f

Modified Files
--------------
src/backend/commands/vacuum.c | 6 ++++++
1 file changed, 6 insertions(+)