aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-08-24 09:15:08 +0900
committerMichael Paquier <michael@paquier.xyz>2018-08-24 09:15:08 +0900
commita569eea6998a26689409ff6eb5fce2c1eab0f5e1 (patch)
tree3e7def16fd8302233e30012ff9be69bedff81f81 /src/backend/tcop/postgres.c
parent88ebd62fcc2ea7c55c0858f6dd4800d51383529f (diff)
downloadpostgresql-a569eea6998a26689409ff6eb5fce2c1eab0f5e1.tar.gz
postgresql-a569eea6998a26689409ff6eb5fce2c1eab0f5e1.zip
Add more tests for VACUUM skips with partitioned tables
A VACUUM or ANALYZE command listing directly a partitioned table expands it to its partitions, causing all elements of a tree to be processed with individual ownership checks done. This results in different relation skips depending on the ownership policy of a tree, which may not be consistent for a partition tree. This commit adds more tests to ensure that any future refactoring allows to keep a consistent behavior, or at least that any changes done are easily identified and checked. The current behavior of VACUUM with partitioned tables is present since 10. Author: Nathan Bossart Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/DC186201-B01F-4A66-9EC4-F855A957C1F9@amazon.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions