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: "Bossart, Nathan" <bossartn@amazon.com>
Cc: Michael Paquier <michael.paquier@gmail.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
"Masahiko
Sawada" <sawada.mshk@gmail.com>,
"David G. Johnston" <david.g.johnston@gmail.com>,
Robert Haas <robertmhaas@gmail.com>
Date: 2017-10-03T22:59:36Z
Lists: pgsql-hackers
"Bossart, Nathan" <bossartn@amazon.com> writes: > Since get_rel_oids() was altered in 19de0ab2, here is a new version of > the patch. I thought it would be a good idea to get this done before walking away from the commitfest and letting all this info get swapped out of my head. So I've reviewed and pushed this. I took out most of the infrastructure you'd put in for constructing RangeVars for tables not explicitly named on the command line. It was buggy (eg you can't assume a relcache entry will stick around) and I don't believe it's necessary. I don't think that warnings should be issued for any tables not explicitly named. In any case, though, the extent to which we should add more warning or log output seems like a fit topic for a new thread and a separate patch. Let's call this one done. 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