Don't uselessly rewrite, truncate, VACUUM, or ANALYZE partitioned tables. Also, recursively perform VACUUM and ANALYZE on partitions when the command is applied to a partitioned table. In passing, some related documentation updates.
Amit Langote, reviewed by Michael Paquier, Ashutosh Bapat, and by me. Discussion: http://postgr.es/m/[email protected] Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/3c3bb99330aa9b4c2f6258bfa0265d806bf365c3 Modified Files -------------- doc/src/sgml/ddl.sgml | 47 ++++++++++++++++++------------------ doc/src/sgml/ref/analyze.sgml | 7 ++++-- doc/src/sgml/ref/vacuum.sgml | 4 +++- src/backend/commands/analyze.c | 37 +++++++++++++++++++---------- src/backend/commands/tablecmds.c | 15 +++++++++--- src/backend/commands/vacuum.c | 51 +++++++++++++++++++++++++++++++++++++--- 6 files changed, 116 insertions(+), 45 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
