Add assertion in expand_vacuum_rel() for non-autovacuum path
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/vacuum.c | modified | +6 −0 |
Discussion
- Add SKIP LOCKED to VACUUM and ANALYZE 24 messages · 2018-06-13 → 2018-10-04