pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add assertion in expand_vacuum_rel() for non-autovacuum path
Date: Thu, 12 Jul 2018 04:54:37 +0000
Message-ID: <E1fdTcj-0001pw-Ea@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1fdTcj-0001pw-Ea@gemulon.postgresql.org>
Permalink:  ../E1fdTcj-0001pw-Ea@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fdTcj-0001pw-Ea@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Add assertion in expand_vacuum_rel() for non-autovacuum path
  In-Reply-To: <E1fdTcj-0001pw-Ea@gemulon.postgresql.org>
  References: <E1fdTcj-0001pw-Ea@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox