pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix the usage of parallel and full options of vacuum command.
Date: Thu, 16 Apr 2020 05:38:02 +0000
Message-ID: <E1jOxDu-00058X-Gr@gemulon.postgresql.org> (raw)

Fix the usage of parallel and full options of vacuum command.

Earlier we were inconsistent in allowing the usage of parallel and
full options.  Change it such that we disallow them only when they are
combined in a way that we don't support.

In passing, improve the comments in some of the existing tests of parallel
vacuum.

Reported-by: Tushar Ahuja
Author: Justin Pryzby, Amit Kapila
Reviewed-by: Sawada Masahiko, Michael Paquier, Mahendra Singh Thalor and
Amit Kapila
Discussion: https://postgr.es/m/58c8d171-e665-6fa3-a9d3-d9423b694dae%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/24d2d38b1eb86c0b410ad0f07f66566a83c6f05c

Modified Files
--------------
doc/src/sgml/ref/vacuum.sgml         | 32 ++++++++++++++++----------------
src/backend/commands/vacuum.c        |  6 ++----
src/test/regress/expected/vacuum.out |  6 ++++--
src/test/regress/sql/vacuum.sql      |  5 ++++-
4 files changed, 26 insertions(+), 23 deletions(-)



Message-ID: <E1jOxDu-00058X-Gr@gemulon.postgresql.org>
Permalink:  ../E1jOxDu-00058X-Gr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jOxDu-00058X-Gr@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: akapila@postgresql.org
  Subject: Re: pgsql: Fix the usage of parallel and full options of vacuum command.
  In-Reply-To: <E1jOxDu-00058X-Gr@gemulon.postgresql.org>
  References: <E1jOxDu-00058X-Gr@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