]> granicus.if.org Git - postgresql/commit
Add regression tests for VACUUM and ANALYZE with relation skips
authorMichael Paquier <michael@paquier.xyz>
Wed, 22 Aug 2018 00:41:37 +0000 (09:41 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 22 Aug 2018 00:41:37 +0000 (09:41 +0900)
commit98abc738027e866f89b0ecf6f6a30b16e000e804
tree57ace04158e54b18ff955988f9509c2cbb4b7e5c
parent55a0154efdf05ccca676455f7c51965d8eaf1d76
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
src/test/regress/expected/vacuum.out
src/test/regress/sql/vacuum.sql