pgsql: vacuumdb: Add option --analyze-in-stages

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: vacuumdb: Add option --analyze-in-stages
Дата
Msg-id E1WZvVd-0007Fg-4W@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
vacuumdb: Add option --analyze-in-stages

Add vacuumdb option --analyze-in-stages which runs ANALYZE three times
with different configuration settings, adopting the logic from the
analyze_new_cluster.sh script that pg_upgrade generates.  That way,
users of pg_dump/pg_restore can also use that functionality.

Change pg_upgrade to create the script so that it calls vacuumdb instead
of implementing the logic itself.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c92c3d50d7fbe7391b5fc864b444346b2db29ffe

Modified Files
--------------
contrib/pg_upgrade/check.c               |   58 ++-----------------------
doc/src/sgml/ref/vacuumdb.sgml           |   20 +++++++++
src/bin/scripts/t/102_vacuumdb_stages.pl |   16 +++++++
src/bin/scripts/vacuumdb.c               |   70 +++++++++++++++++++++++-------
4 files changed, 94 insertions(+), 70 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Have lcov call the right gcov
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: psql: conditionally display oids and replication identity