Add regression tests for VACUUM and ANALYZE with relation skips

Michael Paquier <michael@paquier.xyz>

Commit: 98abc738027e866f89b0ecf6f6a30b16e000e804
Author: Michael Paquier <michael@paquier.xyz>
Date: 2018-08-22T00:41:37Z
Releases: 12.0
Add regression tests for VACUUM and ANALYZE with relation skips

When a user does not have ownership on a relation, then specific log
messages are generated.  This new test suite adds coverage for all the
possible log messages generated, which will be useful to check the
consistency of any refactoring related to ownership checks for relations
vacuumed or analyzed.

Author: Michael Paquier
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/20180812222142.GA6097@paquier.xyz

Files

PathChange+/−
src/test/regress/expected/vacuum.out modified +28 −0
src/test/regress/sql/vacuum.sql modified +20 −0

Discussion