]> granicus.if.org Git - postgresql/commit
Don't uselessly rewrite, truncate, VACUUM, or ANALYZE partitioned tables.
authorRobert Haas <rhaas@postgresql.org>
Thu, 2 Mar 2017 11:48:19 +0000 (17:18 +0530)
committerRobert Haas <rhaas@postgresql.org>
Thu, 2 Mar 2017 11:53:44 +0000 (17:23 +0530)
commit3c3bb99330aa9b4c2f6258bfa0265d806bf365c3
tree201eba0279bf99d200135185e88f2fee54439ce6
parentfa42b2005f0cd825fe5a5fd4db93a7c30b5fe883
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/47288cf1-f72c-dfc2-5ff0-4af962ae5c1b@lab.ntt.co.jp
doc/src/sgml/ddl.sgml
doc/src/sgml/ref/analyze.sgml
doc/src/sgml/ref/vacuum.sgml
src/backend/commands/analyze.c
src/backend/commands/tablecmds.c
src/backend/commands/vacuum.c