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

From Michael Paquier
Subject pgsql: Add assertion in expand_vacuum_rel() for non-autovacuum path
Date
Msg-id E1fdTcj-0001pw-Ea@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Make logical WAL sender report streaming state appropriately
Next
From: Michael Paquier
Date:
Subject: pgsql: Rename VACOPT_NOWAIT to VACOPT_SKIP_LOCKED