]> granicus.if.org Git - postgresql/commit
Add toast-level reloption for vacuum_index_cleanup
authorMichael Paquier <michael@paquier.xyz>
Tue, 25 Jun 2019 00:09:27 +0000 (09:09 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 25 Jun 2019 00:09:27 +0000 (09:09 +0900)
commitce59b75d449d9152667ce3e9eab33ef2872bfd98
tree458394f3c804c99d034916fb30b76070a268819f
parent0089c3059cb6b3dd20cf072f26d1a7a33412df39
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
doc/src/sgml/ref/create_table.sgml
src/backend/access/common/reloptions.c
src/bin/psql/tab-complete.c
src/test/regress/expected/vacuum.out
src/test/regress/sql/vacuum.sql