From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add toast-level reloption for vacuum_index_cleanup
Date: Tue, 25 Jun 2019 00:19:18 +0000
Message-ID: <E1hfZB8-0000AU-QR@gemulon.postgresql.org> (raw)
Add toast-level reloption for vacuum_index_cleanup
a96c41f has introduced the option for heap, but it still lacked the
variant to control the behavior for toast relations.
While on it, refactor the tests so as they stress more scenarios with
the various values that vacuum_index_cleanup can use. It would be
useful to couple those tests with pageinspect to check that pages are
actually cleaned up, but this is left for later.
Author: Masahiko Sawada, Michael Paquier
Reviewed-by: Peter Geoghegan
Discussion: https://postgr.es/m/CAD21AoCqs8iN04RX=i1KtLSaX5RrTEM04b7NHYps4+rqtpWNEg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ce59b75d449d9152667ce3e9eab33ef2872bfd98
Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 2 +-
src/backend/access/common/reloptions.c | 2 +-
src/bin/psql/tab-complete.c | 1 +
src/test/regress/expected/vacuum.out | 34 ++++++++++++++++++++++++++++++----
src/test/regress/sql/vacuum.sql | 34 ++++++++++++++++++++++++++++++----
5 files changed, 63 insertions(+), 10 deletions(-)
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 toast-level reloption for vacuum_index_cleanup
In-Reply-To: <E1hfZB8-0000AU-QR@gemulon.postgresql.org>
References: <E1hfZB8-0000AU-QR@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