Re: [Proposal] Allow users to specify multiple tables in VACUUM commands
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: "Bossart, Nathan" <bossartn@amazon.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Tom Lane <tgl@sss.pgh.pa.us>, Masahiko Sawada <sawada.mshk@gmail.com>
Date: 2017-08-18T18:48:31Z
Lists: pgsql-hackers
On Fri, Aug 18, 2017 at 1:56 AM, Michael Paquier <michael.paquier@gmail.com> wrote: > + /* > + * We have already checked the column list in vacuum(...), > + * but the columns may have disappeared since then. If > + * this happens, emit a nice warning message and skip the > + * undefined column. > + */ > I think that this would be reworded. "nice" is cute is this context. > Why not just saying something like: > "Do not issue an ERROR if a column is missing but use a WARNING > instead. At the beginning of the VACUUM run, the code already checked > for undefined columns and informed about an ERROR, but we want the > processing to move on for existing columns." Hmm, I find your (Michael's) suggestion substantially less clear than the wording to which you are objecting. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
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