Re: [Proposal] Allow users to specify multiple tables in VACUUM commands

Nathan Bossart <bossartn@amazon.com>

From: "Bossart, Nathan" <bossartn@amazon.com>
To: Michael Paquier <michael.paquier@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, "Masahiko Sawada" <sawada.mshk@gmail.com>, "David G. Johnston" <david.g.johnston@gmail.com>, Robert Haas <robertmhaas@gmail.com>
Date: 2017-10-02T04:43:39Z
Lists: pgsql-hackers

Attachments

On 9/29/17, 9:33 AM, "Bossart, Nathan" <bossartn@amazon.com> wrote:
> Here's a version without the logging changes in vacuum_rel() and
> analyze_rel().  I’ll look into submitting those in the next commitfest.

Since get_rel_oids() was altered in 19de0ab2, here is a new version of
the patch.

Nathan

Commits

  1. Allow multiple tables to be specified in one VACUUM or ANALYZE command.

  2. Give a better error for duplicate entries in VACUUM/ANALYZE column list.

  3. Reject ANALYZE commands during VACUUM FULL or another ANALYZE.