Re: [Proposal] Allow users to specify multiple tables in VACUUM commands
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>,
Masahiko Sawada <sawada.mshk@gmail.com>,
"Bossart,
Nathan" <bossartn@amazon.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-05-19T01:00:06Z
Lists: pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes: > On Fri, May 19, 2017 at 9:06 AM, Michael Paquier > <michael.paquier@gmail.com> wrote: >> I am fine with an ERROR if a column list is specified without ANALYZE >> listed in the options. But that should happen as well for the case >> where only one relation is listed. > Perhaps this could be changed for 10? Changing the behavior in > back-branches looks sensitive to me. It would make more sense to me to change it as part of the feature addition, when/if this patch gets committed. Otherwise, we just break code that works today and we can't point to any solid benefit. regards, tom lane
Commits
-
Allow multiple tables to be specified in one VACUUM or ANALYZE command.
- 11d8d72c27a6 11.0 landed
-
Give a better error for duplicate entries in VACUUM/ANALYZE column list.
- ea31541f5648 9.6.6 landed
- e56facd8b300 9.2.24 landed
- b572b435ca67 9.4.15 landed
- a2b1eb23496e 10.0 landed
- a09d8be7ddaf 9.3.20 landed
- 71480501057f 11.0 landed
- 122289a66b92 9.5.10 landed
-
Reject ANALYZE commands during VACUUM FULL or another ANALYZE.
- e415b469b33b 9.5.0 cited