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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add assertion in expand_vacuum_rel() for non-autovacuum path
Date: 2018-07-12 04:54:37
Message-ID: E1fdTcj-0001pw-Ea@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-07-12 05:29:37 pgsql: Rename VACOPT_NOWAIT to VACOPT_SKIP_LOCKED
Previous Message Michael Paquier 2018-07-12 01:21:42 pgsql: Make logical WAL sender report streaming state appropriately